From eaafd916be22ae78ff1ad35917a364126c939b28 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Mon, 13 Mar 2023 17:42:04 +0100 Subject: [PATCH] Fix wrong malloc error message --- src/emu/system.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emu/system.c b/src/emu/system.c index 039821f..63c3cfa 100644 --- a/src/emu/system.c +++ b/src/emu/system.c @@ -58,7 +58,7 @@ create_proc(struct loom *loom, const char *tracedir, const char *relpath) proc = malloc(sizeof(struct proc)); if (proc == NULL) { - err("calloc failed:"); + err("malloc failed:"); return NULL; } @@ -120,7 +120,7 @@ create_loom(struct system *sys, const char *relpath) loom = malloc(sizeof(struct loom)); if (loom == NULL) { - err("calloc failed:"); + err("malloc failed:"); return NULL; }