summaryrefslogtreecommitdiff
path: root/dbug
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-10-04 08:24:06 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-10-04 08:24:06 +0300
commit2c1067166d7e8a9541578220b408f1e553e23916 (patch)
tree2ba0932f92d88e01d51393de63dda842f6daf320 /dbug
parent2cf3e2ea2fca3d3613309de94d55c88dedb3831a (diff)
parent61b2618d3aae78950f1b8dbe8d4482573c77875d (diff)
downloadmariadb-git-2c1067166d7e8a9541578220b408f1e553e23916.tar.gz
Merge bb-10.2-ext into 10.3
Diffstat (limited to 'dbug')
-rw-r--r--dbug/dbug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbug/dbug.c b/dbug/dbug.c
index 2fe3fbcd761..e4125a3efea 100644
--- a/dbug/dbug.c
+++ b/dbug/dbug.c
@@ -1369,8 +1369,8 @@ void _db_dump_(uint _line_, const char *keyword,
{
fprintf(cs->stack->out_file->file, "%s: ", cs->func);
}
- (void) fprintf(cs->stack->out_file->file, "%s: Memory: 0x%lx Bytes: (%ld)\n",
- keyword, (ulong) memory, (long) length);
+ (void) fprintf(cs->stack->out_file->file, "%s: Memory: %p Bytes: (%ld)\n",
+ keyword, memory, (long) length);
pos=0;
while (length-- > 0)