Ver Fonte

gui-fatal: add \n to message on stderr

Vincent Penquerc'h há 10 anos atrás
pai
commit
73adfc88e3
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      qubes-rpc/gui-fatal.c

+ 1 - 1
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