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:
Christian Prochaska 2014-03-26 15:03:24 +01:00 committed by Christian Helmuth
parent 869fbc92b1
commit e6c7596af5
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ extern "C" void errx(int eval, const char *fmt, ...)
va_start(args, fmt);
vprintf(fmt, args);
va_end(args);
printf("\n");
env()->parent()->exit(eval);
while(1) ;
}