aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/main.c
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1995-11-13 16:07:30 +0000
committerMichael Meissner <gnu@the-meissners.org>1995-11-13 16:07:30 +0000
commit1dc7c0ed844311c321e68f23209f4d51ef475fdc (patch)
tree8e1765a07044abb451a489c56658861119b2616d /sim/ppc/main.c
parent125d37c4719b9df1d7b60614bd310ac1c7828f8d (diff)
downloadgdb-1dc7c0ed844311c321e68f23209f4d51ef475fdc.zip
gdb-1dc7c0ed844311c321e68f23209f4d51ef475fdc.tar.gz
gdb-1dc7c0ed844311c321e68f23209f4d51ef475fdc.tar.bz2
checkpoint
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;
}