From b98accf66022fe104d113190a54cefbe8cd29d82 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 19 Nov 2018 12:11:52 +0100 Subject: 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. --- cli/mmcli-modem-signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/mmcli-modem-signal.c') 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 -- cgit v1.2.3-70-g09d2