From 73adfc88e348ecd9996d090535b5b12a3a063558 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Sun, 29 Dec 2013 08:06:21 -0500 Subject: [PATCH] gui-fatal: add \n to message on stderr --- qubes-rpc/gui-fatal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes-rpc/gui-fatal.c b/qubes-rpc/gui-fatal.c index 2a7091e..bbf6fa5 100644 --- a/qubes-rpc/gui-fatal.c +++ b/qubes-rpc/gui-fatal.c @@ -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