add a space between safemalloc error mesage and a stack trace
This commit is contained in:
parent
e3650f3799
commit
415507d392
@ -246,6 +246,7 @@ static void warn(const char *format,...)
|
||||
{
|
||||
void *frame[SF_REMEMBER_FRAMES + SF_FRAMES_SKIP];
|
||||
int frames= backtrace(frame, array_elements(frame));
|
||||
fprintf(stderr, " ");
|
||||
if (frames < SF_REMEMBER_FRAMES + SF_FRAMES_SKIP)
|
||||
frame[frames]= 0;
|
||||
print_stack(frame + SF_FRAMES_SKIP);
|
||||
|
Loading…
x
Reference in New Issue
Block a user