]> arthur.barton.de Git - netdata.git/blobdiff - src/plugin_nfacct.c
Replace deprecated bcopy() by memmove()
[netdata.git] / src / plugin_nfacct.c
index e513e5d0e7a09ab37b262159d7220de428d21ba5..7843161d32bf86e3bce565cf742e2dd3bfbfce97 100644 (file)
@@ -188,7 +188,7 @@ void *nfacct_main(void *ptr) {
         usleep(susec);
 
         // copy current to last
-        bcopy(&now, &last, sizeof(struct timeval));
+        memmove(&last, &now, sizeof(struct timeval));
     }
 
     mnl_socket_close(nl);