aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-modem-location.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli/mmcli-modem-location.c')
-rw-r--r--cli/mmcli-modem-location.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/cli/mmcli-modem-location.c b/cli/mmcli-modem-location.c
index efa2c63d..51382538 100644
--- a/cli/mmcli-modem-location.c
+++ b/cli/mmcli-modem-location.c
@@ -342,10 +342,13 @@ get_location_process_reply (MMLocation3gpp *location_3gpp,
full = mm_location_gps_nmea_build_full (location_gps_nmea);
if (full) {
+ gchar *prefixed;
+
+ prefixed = mmcli_prefix_newlines (" | ", full);
g_print (" -------------------------\n"
- " GPS NMEA traces |\n"
- " %s\n",
- full);
+ " GPS NMEA traces | %s\n",
+ prefixed);
+ g_free (prefixed);
g_free (full);
} else
g_print (" -------------------------\n"