mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01: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:
committed by
Christian Helmuth
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) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user