diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2016-08-03 23:43:45 +0100 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2018-04-03 14:16:14 -0400 |
commit | 743eef5abdd15ca51d7bdc2432cecbf47ed72e7d (patch) | |
tree | e6053f4f061b2cdb4cd2cdfaf7f929a64531021d | |
parent | 5d998d5c7ae36ffd4a7099d382f26d289c759ba1 (diff) | |
download | polkit-743eef5abdd15ca51d7bdc2432cecbf47ed72e7d.tar.gz |
polkitbackend: Fix typos in a couple of initialisation error messages
https://bugs.freedesktop.org/show_bug.cgi?id=97342
-rw-r--r-- | src/polkitbackend/polkitd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/polkitbackend/polkitd.c b/src/polkitbackend/polkitd.c index 8d54ed7..42397e1 100644 --- a/src/polkitbackend/polkitd.c +++ b/src/polkitbackend/polkitd.c @@ -180,7 +180,7 @@ main (int argc, error = NULL; if (!g_option_context_parse (opt_context, &argc, &argv, &error)) { - g_printerr ("Error parsing options: %s", error->message); + g_printerr ("Error parsing options: %s\n", error->message); g_error_free (error); goto out; } @@ -207,7 +207,7 @@ main (int argc, error = NULL; if (!become_user (POLKITD_USER, &error)) { - g_printerr ("Error switcing to user %s: %s\n", + g_printerr ("Error switching to user %s: %s\n", POLKITD_USER, error->message); g_clear_error (&error); goto out; |