gui-fatal: add \n to message on stderr
This commit is contained in:
parent
393553c7bb
commit
73adfc88e3
@ -20,7 +20,7 @@ static void produce_message(const char * type, const char *fmt, va_list args)
|
||||
(void) vsnprintf(buf, sizeof(buf), fmt, args);
|
||||
asprintf(&dialog_msg, "%s: %s: %s (error type: %s)",
|
||||
program_invocation_short_name, type, buf, strerror(errno));
|
||||
fprintf(stderr, "%s", dialog_msg);
|
||||
fprintf(stderr, "%s\n", dialog_msg);
|
||||
switch (fork()) {
|
||||
case -1:
|
||||
exit(1); //what else
|
||||
|
Loading…
Reference in New Issue
Block a user