summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/common/util.h')
-rw-r--r--sys/boot/common/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/common/util.h b/sys/boot/common/util.h
index 600c4e0..1ccb78d 100644
--- a/sys/boot/common/util.h
+++ b/sys/boot/common/util.h
@@ -37,7 +37,7 @@ void memcpy(void *dst, const void *src, int len);
void memset(void *b, int c, size_t len);
int memcmp(const void *b1, const void *b2, size_t len);
-#define bcpy(src, dst, len) memcpy((dst), (src), (len))
+#define bcopy(src, dst, len) memcpy((dst), (src), (len))
#define bzero(buf, size) memset((buf), 0, (size))
#define bcmp(b1, b2, len) (memcmp((b1), (b2), (len)) != 0)
OpenPOWER on IntegriCloud