aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-modem-messaging.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-02-08 15:18:21 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:15:01 +0100
commitd528a2211b58820d23528e1afd187652151f4853 (patch)
treefcc1d1611f2e5a4e587ef8ff2c11363fea993de9 /cli/mmcli-modem-messaging.c
parent470d9b933ef3a324195b1cd15edd10aba57c564d (diff)
cli: ensure EOL is added at every error message
Diffstat (limited to 'cli/mmcli-modem-messaging.c')
-rw-r--r--cli/mmcli-modem-messaging.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/mmcli-modem-messaging.c b/cli/mmcli-modem-messaging.c
index 20334c05..c2156db9 100644
--- a/cli/mmcli-modem-messaging.c
+++ b/cli/mmcli-modem-messaging.c
@@ -123,7 +123,7 @@ ensure_modem_messaging (void)
if (ctx->modem_messaging)
return;
- g_printerr ("error: modem has no messaging capabilities");
+ g_printerr ("error: modem has no messaging capabilities\n");
exit (EXIT_FAILURE);
}
@@ -265,7 +265,7 @@ get_modem_ready (GObject *source,
properties = mm_sms_properties_new_from_string (create_str, &error);
if (!properties) {
- g_printerr ("Error parsing properties string: '%s'", error->message);
+ g_printerr ("Error parsing properties string: '%s'\n", error->message);
exit (EXIT_FAILURE);
}
@@ -342,7 +342,7 @@ mmcli_modem_messaging_run_synchronous (GDBusConnection *connection)
properties = mm_sms_properties_new_from_string (create_str, &error);
if (!properties) {
- g_printerr ("Error parsing properties string: '%s'", error->message);
+ g_printerr ("Error parsing properties string: '%s'\n", error->message);
exit (EXIT_FAILURE);
}