@cryptotaxi247 / netdata-1 / commits / da7f26719

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

Timotej S committed Jul 21, 2020 at 17:56 UTC da7f267196b489e9a75724b68897e8f2e6137d72
1 file changed +1 -1
aclk/aclk_stats.c
+1 -1
@@ -249,7 +249,7 @@ void *aclk_stats_main_thread(void *ptr)
249 memcpy(&permanent, &aclk_metrics, sizeof(struct aclk_metrics));
250 memset(&aclk_metrics_per_sample, 0, sizeof(struct aclk_metrics_per_sample));
251
252 - mempcpy(aclk_queries_per_thread_sample, aclk_queries_per_thread, sizeof(uint32_t) * query_thread_count);
252 + memcpy(aclk_queries_per_thread_sample, aclk_queries_per_thread, sizeof(uint32_t) * query_thread_count);
253 memset(aclk_queries_per_thread, 0, sizeof(uint32_t) * query_thread_count);
254 ACLK_STATS_UNLOCK;
255