aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cli/mmcli-modem-3gpp.c4
-rw-r--r--cli/mmcli-modem-cdma.c2
-rw-r--r--cli/mmcli-modem-location.c2
-rw-r--r--cli/mmcli-modem-messaging.c6
-rw-r--r--cli/mmcli-modem-simple.c2
-rw-r--r--cli/mmcli-modem.c4
-rw-r--r--cli/mmcli.c4
7 files changed, 12 insertions, 12 deletions
diff --git a/cli/mmcli-modem-3gpp.c b/cli/mmcli-modem-3gpp.c
index 834bebe8..7e141be5 100644
--- a/cli/mmcli-modem-3gpp.c
+++ b/cli/mmcli-modem-3gpp.c
@@ -164,7 +164,7 @@ ensure_modem_3gpp (void)
if (ctx->modem_3gpp)
return;
- g_printerr ("error: modem has no 3GPP capabilities");
+ g_printerr ("error: modem has no 3GPP capabilities\n");
exit (EXIT_FAILURE);
}
@@ -174,7 +174,7 @@ ensure_modem_3gpp_ussd (void)
if (ctx->modem_3gpp_ussd)
return;
- g_printerr ("error: modem has no USSD capabilities");
+ g_printerr ("error: modem has no USSD capabilities\n");
exit (EXIT_FAILURE);
}
diff --git a/cli/mmcli-modem-cdma.c b/cli/mmcli-modem-cdma.c
index 7ef5fce3..2e8cdb77 100644
--- a/cli/mmcli-modem-cdma.c
+++ b/cli/mmcli-modem-cdma.c
@@ -111,7 +111,7 @@ ensure_modem_cdma (void)
if (ctx->modem_cdma)
return;
- g_printerr ("error: modem has no CDMA capabilities");
+ g_printerr ("error: modem has no CDMA capabilities\n");
exit (EXIT_FAILURE);
}
diff --git a/cli/mmcli-modem-location.c b/cli/mmcli-modem-location.c
index 73c9fa7f..dbd4e666 100644
--- a/cli/mmcli-modem-location.c
+++ b/cli/mmcli-modem-location.c
@@ -123,7 +123,7 @@ ensure_modem_location (void)
if (ctx->modem_location)
return;
- g_printerr ("error: modem has no location capabilities");
+ g_printerr ("error: modem has no location capabilities\n");
exit (EXIT_FAILURE);
}
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);
}
diff --git a/cli/mmcli-modem-simple.c b/cli/mmcli-modem-simple.c
index 71624648..811d498f 100644
--- a/cli/mmcli-modem-simple.c
+++ b/cli/mmcli-modem-simple.c
@@ -322,7 +322,7 @@ get_modem_ready (GObject *source,
properties = mm_modem_simple_connect_properties_new_from_string (connect_str, &error);
if (!properties) {
- g_printerr ("Error parsing connect string: '%s'", error->message);
+ g_printerr ("Error parsing connect string: '%s'\n", error->message);
exit (EXIT_FAILURE);
}
diff --git a/cli/mmcli-modem.c b/cli/mmcli-modem.c
index 7277d5f4..73deafb3 100644
--- a/cli/mmcli-modem.c
+++ b/cli/mmcli-modem.c
@@ -842,7 +842,7 @@ get_modem_ready (GObject *source,
properties = mm_bearer_properties_new_from_string (create_bearer_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);
}
@@ -1001,7 +1001,7 @@ mmcli_modem_run_synchronous (GDBusConnection *connection)
properties = mm_bearer_properties_new_from_string (create_bearer_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);
}
diff --git a/cli/mmcli.c b/cli/mmcli.c
index ff9d6891..33634e66 100644
--- a/cli/mmcli.c
+++ b/cli/mmcli.c
@@ -69,7 +69,7 @@ signals_handler (int signum)
/* Ignore consecutive requests of cancellation */
if (!g_cancellable_is_cancelled (cancellable)) {
g_printerr ("%s\n",
- "cancelling the operation...");
+ "cancelling the operation...\n");
g_cancellable_cancel (cancellable);
}
return;
@@ -78,7 +78,7 @@ signals_handler (int signum)
if (loop &&
g_main_loop_is_running (loop)) {
g_printerr ("%s\n",
- "cancelling the main loop...");
+ "cancelling the main loop...\n");
g_main_loop_quit (loop);
}
}