aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/sys/sysmacros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/sysmacros.h b/include/sys/sysmacros.h
index eccfee34d..eded9abc0 100644
--- a/include/sys/sysmacros.h
+++ b/include/sys/sysmacros.h
@@ -110,7 +110,7 @@
/* Map some simple functions.
*/
#define bzero(ptr,size) memset(ptr,0,size)
-#define bcopy(src,dest,size) memcpy(dest,src,size)
+#define bcopy(src,dest,size) memmove(dest,src,size)
#define bcmp(src,dest,size) memcmp((src), (dest), (size_t)(size))
/* Dtrace probes do not exist in the linux kernel */