summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc/malloc.c
diff options
context:
space:
mode:
authorMiles Bader <miles@lsi.nec.co.jp>2002-07-31 07:13:19 +0000
committerMiles Bader <miles@lsi.nec.co.jp>2002-07-31 07:13:19 +0000
commitdfa6a5382af33ee7206891ac2ba7d7e44f1c479a (patch)
tree50e5b3e6e4d44ba0a38fad3e7314923c065e9555 /libc/stdlib/malloc/malloc.c
parentb93d7f3e928c6dd153838dd88375ed39cd311a2a (diff)
Update debugging printfs.
Diffstat (limited to 'libc/stdlib/malloc/malloc.c')
-rw-r--r--libc/stdlib/malloc/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/malloc/malloc.c b/libc/stdlib/malloc/malloc.c
index 54e68a5f3..db953a9c0 100644
--- a/libc/stdlib/malloc/malloc.c
+++ b/libc/stdlib/malloc/malloc.c
@@ -125,7 +125,7 @@ malloc (size_t size)
MALLOC_SET_SIZE (mem, size);
MALLOC_DEBUG (" malloc: returning 0x%lx (base:0x%lx, total_size:%d)\n",
- (long)mem, (long)mem - MALLOC_ALIGNMENT, size);
+ (long)mem, (long)MALLOC_BASE(mem), (long)MALLOC_SIZE(mem));
}
return mem;