summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2017-10-08 00:57:20 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2017-10-08 00:57:20 +0000
commitcf1ba3ae91791db8f1114cd56527df0ba814b883 (patch)
tree5f8b481b1a5d5aad7cab53cfa85166e56798dffb
parent8b95d77cfa11d3a73438aba6c0d951c4dbb8405d (diff)
Revert: libsa lacks memmove currently; a more thorough rename/change is
needed problem noted by naddy@
-rw-r--r--sys/lib/libsa/stand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libsa/stand.h b/sys/lib/libsa/stand.h
index 5bf6cddf699..f8147ecad8f 100644
--- a/sys/lib/libsa/stand.h
+++ b/sys/lib/libsa/stand.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stand.h,v 1.64 2017/10/07 19:54:49 guenther Exp $ */
+/* $OpenBSD: stand.h,v 1.65 2017/10/08 00:57:19 guenther Exp $ */
/* $NetBSD: stand.h,v 1.18 1996/11/30 04:35:51 gwr Exp $ */
/*-
@@ -143,7 +143,7 @@ __dead void panic(const char *, ...) __attribute__((noreturn));
__dead void _rtt(void) __attribute__((noreturn));
#define bzero(s,n) ((void)memset((s),0,(n)))
#define bcmp(s1,s2,n) (memcmp((s2),(s1),(n)))
-#define bcopy(s1,s2,n) ((void)memmove((s2),(s1),(n)))
+#define bcopy(s1,s2,n) ((void)memcpy((s2),(s1),(n)))
void explicit_bzero(void *, size_t);
void *memcpy(void *, const void *, size_t);
int memcmp(const void *, const void *, size_t);