aboutsummaryrefslogtreecommitdiff
path: root/lib/memdebug.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-06-30 13:30:23 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-06-30 13:30:23 +0000
commit701de67b7930a4e4953dd82095c141beda917b48 (patch)
tree708e908d9add28ceda52e5b8d39f24dfe2746594 /lib/memdebug.c
parent883479f01e3792d2ef8428839fbd84a1fe7c1520 (diff)
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.c2
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) {