diff options
author | Daniel Black <daniel@linux.ibm.com> | 2019-01-09 09:26:17 +1100 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2019-01-17 01:18:02 +0400 |
commit | 62a0224666fd0b2790837288cafde009f02e2b52 (patch) | |
tree | 197d7e2e04d59ab8ef782219c2f7192990b7fd67 /mysys/safemalloc.c | |
parent | 848fd3f765370022faebd21c6b8afd074c116050 (diff) | |
download | mariadb-git-62a0224666fd0b2790837288cafde009f02e2b52.tar.gz |
safemalloc: put bad_ptr error arguments in right order
Diffstat (limited to 'mysys/safemalloc.c')
-rw-r--r-- | mysys/safemalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/safemalloc.c b/mysys/safemalloc.c index ae8993fbf00..024f8ffb49d 100644 --- a/mysys/safemalloc.c +++ b/mysys/safemalloc.c @@ -319,7 +319,7 @@ static int bad_ptr(const char *where, void *ptr) if (irem->marker != MAGICSTART) { DBUG_PRINT("error",("Unallocated data or underrun buffer %p", ptr)); - warn("Error: %s unallocated data or underrun buffer %p", ptr, where); + warn("Error: %s unallocated data or underrun buffer %p", where, ptr); return 1; } |