diff options
author | Miles Bader <miles@lsi.nec.co.jp> | 2002-07-31 07:13:19 +0000 |
---|---|---|
committer | Miles Bader <miles@lsi.nec.co.jp> | 2002-07-31 07:13:19 +0000 |
commit | dfa6a5382af33ee7206891ac2ba7d7e44f1c479a (patch) | |
tree | 50e5b3e6e4d44ba0a38fad3e7314923c065e9555 /libc/stdlib/malloc/realloc.c | |
parent | b93d7f3e928c6dd153838dd88375ed39cd311a2a (diff) |
Update debugging printfs.
Diffstat (limited to 'libc/stdlib/malloc/realloc.c')
-rw-r--r-- | libc/stdlib/malloc/realloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/malloc/realloc.c b/libc/stdlib/malloc/realloc.c index 4372751d0..f19df8bde 100644 --- a/libc/stdlib/malloc/realloc.c +++ b/libc/stdlib/malloc/realloc.c @@ -73,7 +73,7 @@ realloc (void *mem, size_t new_size) if (mem) MALLOC_DEBUG (" realloc: returning 0x%lx" " (base:0x%lx, total_size:%d)\n", - (long)new_mem, (long)new_mem - sizeof(size_t), size); + (long)mem, (long)MALLOC_BASE(mem), (long)MALLOC_SIZE(mem)); return mem; } |