]> sjero.net Git - wget/commitdiff
[svn] Prefix pointer value with 0x.
authorhniksic <devnull@localhost>
Mon, 4 Jul 2005 21:15:50 +0000 (14:15 -0700)
committerhniksic <devnull@localhost>
Mon, 4 Jul 2005 21:15:50 +0000 (14:15 -0700)
src/ChangeLog
src/xmalloc.c

index f028933279c6bfe181bd5209a3ab6ba3277305f0..52ebd6f91ef84b661fbf82b7cdc3a92189a0b1b8 100644 (file)
@@ -1,3 +1,8 @@
+2005-07-04  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * xmalloc.c (debugging_free): Prefix hex pointer value with "0x"
+       when printing.
+
 2005-07-04  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * utils.c (NEXT_BASE64_CHAR): Rename to NEXT_CHAR and simplify to
index bf4b9a3ed22fcee87fe4c77e568d7e5d41915cb4..4368faaef95dfb222e74f43db35a1392e7d4f3e2 100644 (file)
@@ -357,7 +357,7 @@ debugging_free (void *ptr, const char *source_file, int source_line)
     }
   if (!unregister_ptr (ptr))
     {
-      fprintf (stderr, "%s: bad xfree(%0*lx) at %s:%d\n",
+      fprintf (stderr, "%s: bad xfree(0x%0*lx) at %s:%d\n",
               exec_name, PTR_FORMAT (ptr), source_file, source_line);
       abort ();
     }