diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-06-30 13:30:23 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-06-30 13:30:23 +0000 |
commit | 701de67b7930a4e4953dd82095c141beda917b48 (patch) | |
tree | 708e908d9add28ceda52e5b8d39f24dfe2746594 /lib/memdebug.c | |
parent | 883479f01e3792d2ef8428839fbd84a1fe7c1520 (diff) | |
download | curl-701de67b7930a4e4953dd82095c141beda917b48.tar.gz |
use %p to printf pointers since %x doesn't work properly on tru64 for this
(and besides, we should be using the same %-code for all pointers)
Diffstat (limited to 'lib/memdebug.c')
-rw-r--r-- | lib/memdebug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/memdebug.c b/lib/memdebug.c index d56c637fc..2b6c55c3b 100644 --- a/lib/memdebug.c +++ b/lib/memdebug.c @@ -201,7 +201,7 @@ void *curl_dorealloc(void *ptr, size_t wantedsize, mem=(struct memdebug *)(Curl_crealloc)(mem, size); if(logfile) - fprintf(logfile, "MEM %s:%d realloc(0x%x, %zd) = %p\n", + fprintf(logfile, "MEM %s:%d realloc(%p, %zd) = %p\n", source, line, ptr, wantedsize, mem?mem->mem:NULL); if(mem) { |