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 3144454..f6ac87f 100644
--- a/sim/ppc/main.c
+++ b/sim/ppc/main.c
@@ -248,7 +248,7 @@ zalloc(long size)
{
void *memory = malloc(size);
if (memory == NULL)
- error("zmalloc failed\n");
+ error("zalloc failed\n");
memset(memory, 0, size);
return memory;
}