summaryrefslogtreecommitdiffstats
path: root/mbbsd/stuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/stuff.c')
-rw-r--r--mbbsd/stuff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c
index 3789f2a8..2ec3ba1c 100644
--- a/mbbsd/stuff.c
+++ b/mbbsd/stuff.c
@@ -925,7 +925,7 @@ void *MALLOC(int size)
MAP_ANON | MAP_PRIVATE, -1, 0);
p[0] = size;
#if defined(DEBUG) && !defined(_BBS_UTIL_C_)
- vmsg("critical malloc %d bytes", size);
+ vmsgf("critical malloc %d bytes", size);
#endif
return (void *)&p[1];
}
@@ -935,7 +935,7 @@ void FREE(void *ptr)
int size = ((int *)ptr)[-1];
munmap((void *)(&(((int *)ptr)[-1])), size);
#if defined(DEBUG) && !defined(_BBS_UTIL_C_)
- vmsg("critical free %d bytes", size);
+ vmsgf("critical free %d bytes", size);
#endif
}
#endif