aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/ppc/main.c')
-rw-r--r--sim/ppc/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/main.c b/sim/ppc/main.c
index 0b3ad07..8df9276 100644
--- a/sim/ppc/main.c
+++ b/sim/ppc/main.c
@@ -73,7 +73,7 @@ zalloc(long size)
void *memory = malloc(size);
if (memory == NULL)
error("zmalloc failed\n");
- bzero(memory, size);
+ memset(memory, 0, size);
return memory;
}