diff target-utils/libcommon/cmd_memdump_human.c @ 99:9214118ae941

target-utils: use of bcopy() changed to memcpy()
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 01 Nov 2016 00:05:31 +0000
parents e7502631a0f9
children
line wrap: on
line diff
--- a/target-utils/libcommon/cmd_memdump_human.c	Mon Oct 31 23:55:28 2016 +0000
+++ b/target-utils/libcommon/cmd_memdump_human.c	Tue Nov 01 00:05:31 2016 +0000
@@ -31,7 +31,7 @@
 		return;
 	}
 	for (offset = 0; offset < length; offset += 0x10) {
-		bcopy(start + offset, intbuf, 0x10);
+		memcpy(intbuf, start + offset, 0x10);
 		printf("%08X: ", start + offset);
 		for (i = 0; i < 16; i++) {
 			printf("%02X ", intbuf[i]);