aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-modem-signal.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-11-19 12:11:52 +0100
committerAleksander Morgado <aleksander@aleksander.es>2018-11-20 09:15:41 +0100
commitb98accf66022fe104d113190a54cefbe8cd29d82 (patch)
tree3c364014a1af8112790c1f9b8550e1aa0418d21d /cli/mmcli-modem-signal.c
parentcc6a286cc43bc2718e287f730b30ef0bbdce87a5 (diff)
cli,signal: fix unknown value reporting
At this point we want the values enclosed between single quotes, e.g. so that the fields are parsed easier by scripts. This issue will not have any practical relevance as soon as the key-value pair output support is merged.
Diffstat (limited to 'cli/mmcli-modem-signal.c')
-rw-r--r--cli/mmcli-modem-signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/mmcli-modem-signal.c b/cli/mmcli-modem-signal.c
index 5f92e9c7..c8a20826 100644
--- a/cli/mmcli-modem-signal.c
+++ b/cli/mmcli-modem-signal.c
@@ -140,7 +140,7 @@ print_signal_value (const gchar *prefix,
if (value != MM_SIGNAL_UNKNOWN)
g_print ("%s'%.2lf' %s\n", prefix, value, units);
else
- g_print ("%sn/a\n", prefix);
+ g_print ("%s'n/a'\n", prefix);
}
static void