ldso: flush the log console in 'errx()'
The error message given to the 'errx()' function does not always contain a '\n' character. Adding 'printf("\n")' ensures that the message appears on the log console. Fixes #1103.
This commit is contained in:
parent
869fbc92b1
commit
e6c7596af5
|
@ -23,6 +23,7 @@ extern "C" void errx(int eval, const char *fmt, ...)
|
||||||
va_start(args, fmt);
|
va_start(args, fmt);
|
||||||
vprintf(fmt, args);
|
vprintf(fmt, args);
|
||||||
va_end(args);
|
va_end(args);
|
||||||
|
printf("\n");
|
||||||
env()->parent()->exit(eval);
|
env()->parent()->exit(eval);
|
||||||
while(1) ;
|
while(1) ;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user