mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-23 04:25:21 +00:00
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);
|
||||
vprintf(fmt, args);
|
||||
va_end(args);
|
||||
printf("\n");
|
||||
env()->parent()->exit(eval);
|
||||
while(1) ;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user