Skip to content

Commit

Permalink
safemalloc: put bad_ptr error arguments in right order
Browse files Browse the repository at this point in the history
  • Loading branch information
grooverdan authored and Sergey Vojtovich committed Jan 16, 2019
1 parent 848fd3f commit 62a0224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysys/safemalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 62a0224

Please sign in to comment.