From da7f267196b489e9a75724b68897e8f2e6137d72 Mon Sep 17 00:00:00 2001 From: Timotej S <6674623+underhood@users.noreply.github.com> Date: Tue, 21 Jul 2020 17:56:58 +0200 Subject: 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 --- aclk/aclk_stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aclk') 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; -- cgit v1.2.3