Commit 62a02246 authored by Daniel Black's avatar Daniel Black Committed by Sergey Vojtovich

safemalloc: put bad_ptr error arguments in right order

parent 848fd3f7
...@@ -319,7 +319,7 @@ static int bad_ptr(const char *where, void *ptr) ...@@ -319,7 +319,7 @@ static int bad_ptr(const char *where, void *ptr)
if (irem->marker != MAGICSTART) if (irem->marker != MAGICSTART)
{ {
DBUG_PRINT("error",("Unallocated data or underrun buffer %p", ptr)); 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; return 1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment