summaryrefslogtreecommitdiffstats
path: root/aclk
diff options
context:
space:
mode:
authorTimotej S <6674623+underhood@users.noreply.github.com>2020-07-21 17:56:58 +0200
committerGitHub <noreply@github.com>2020-07-21 17:56:58 +0200
commitda7f267196b489e9a75724b68897e8f2e6137d72 (patch)
treee08a4302adb2f53ac9d6ca69b0e8575e0652b33d /aclk
parente90d32d0fa368968a379f97516744e9d99312692 (diff)
Replaces mempcpy with memcpy (#9575)
both functions do the same, they differ in return value only (which we don't use) some systems do not have mempcpy
Diffstat (limited to 'aclk')
-rw-r--r--aclk/aclk_stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aclk/aclk_stats.c b/aclk/aclk_stats.c
index 7cddbc2c48..50378b134c 100644
--- a/aclk/aclk_stats.c
+++ b/aclk/aclk_stats.c
@@ -249,7 +249,7 @@ void *aclk_stats_main_thread(void *ptr)
memcpy(&permanent, &aclk_metrics, sizeof(struct aclk_metrics));
memset(&aclk_metrics_per_sample, 0, sizeof(struct aclk_metrics_per_sample));
- mempcpy(aclk_queries_per_thread_sample, aclk_queries_per_thread, sizeof(uint32_t) * query_thread_count);
+ memcpy(aclk_queries_per_thread_sample, aclk_queries_per_thread, sizeof(uint32_t) * query_thread_count);
memset(aclk_queries_per_thread, 0, sizeof(uint32_t) * query_thread_count);
ACLK_STATS_UNLOCK;