summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2017-07-29 01:37:34 -0700
committerAleksander Morgado <aleksander@aleksander.es>2017-07-29 12:22:46 +0200
commitf2c2df8e4879920923b0423f92ec2a66fbee054d (patch)
tree0884d9d622983e1a3465378636994c37597e93a6
parentcf3c041f590a00b739c1b7eb145642c5ccc80185 (diff)
downloadlibmbim-f2c2df8e4879920923b0423f92ec2a66fbee054d.tar.gz
mbimcli: show unknown CID name as "unknown" instead of "(null)"
-rw-r--r--src/mbimcli/mbimcli-basic-connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbimcli/mbimcli-basic-connect.c b/src/mbimcli/mbimcli-basic-connect.c
index 0e78719..e147c4c 100644
--- a/src/mbimcli/mbimcli-basic-connect.c
+++ b/src/mbimcli/mbimcli-basic-connect.c
@@ -603,7 +603,7 @@ query_device_services_ready (MbimDevice *device,
} else {
g_string_append_printf (cids, "%s%s (%u)",
j == 0 ? "" : "\t\t ",
- mbim_cid_get_printable (service, device_services[i]->cids[j]),
+ VALIDATE_UNKNOWN (mbim_cid_get_printable (service, device_services[i]->cids[j])),
device_services[i]->cids[j]);
if (j < device_services[i]->cids_count - 1)
g_string_append (cids, ",\n");