From a6644adc2821ca00e6612b3772e40a9908dbd0a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Fri, 3 Dec 2021 15:47:12 +0100 Subject: [PATCH] mutter: Add missing newline in error messages It's using g_printerr() which isn't like g_message()/g_warning() and friends that expect no newline in the end. Part-of: --- src/core/mutter.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/core/mutter.c b/src/core/mutter.c index 8af146b4b..51b9951b1 100644 --- a/src/core/mutter.c +++ b/src/core/mutter.c @@ -131,7 +131,7 @@ main (int argc, char **argv) meta_context_add_option_entries (context, mutter_options, GETTEXT_PACKAGE); if (!meta_context_configure (context, &argc, &argv, &error)) { - g_printerr ("Failed to configure: %s", error->message); + g_printerr ("Failed to configure: %s\n", error->message); return EXIT_FAILURE; } @@ -141,13 +141,13 @@ main (int argc, char **argv) if (!meta_context_setup (context, &error)) { - g_printerr ("Failed to setup: %s", error->message); + g_printerr ("Failed to setup: %s\n", error->message); return EXIT_FAILURE; } if (!meta_context_start (context, &error)) { - g_printerr ("Failed to start: %s", error->message); + g_printerr ("Failed to start: %s\n", error->message); return EXIT_FAILURE; } @@ -163,7 +163,7 @@ main (int argc, char **argv) G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_SEARCH_PATH, NULL, NULL, &command_pid, &error)) { - g_printerr ("Failed to run the command: %s", error->message); + g_printerr ("Failed to run the command: %s\n", error->message); return EXIT_FAILURE; } @@ -172,7 +172,7 @@ main (int argc, char **argv) if (!meta_context_run_main_loop (context, &error)) { - g_printerr ("Mutter terminated with a failure: %s", error->message); + g_printerr ("Mutter terminated with a failure: %s\n", error->message); return EXIT_FAILURE; }