summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-08-14 17:16:33 +0200
committerAleksander Morgado <aleksander@aleksander.es>2018-08-28 09:45:58 +0200
commit5ded522fa01b511547bf39bf556c6471257d6c28 (patch)
tree2c61d4f7bf2737e07778d4f361d17ff1ed790ee3
parent28c1acf2e134a395dfda28860db37e4bf9650e16 (diff)
downloadModemManager-aleksander/lac-tac-cid-hex.tar.gz
mmcli,location: print LAC/TAC/CID in hexaleksander/lac-tac-cid-hex
All these values are usually specified in hex, not in dec.
-rw-r--r--cli/mmcli-modem-location.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/mmcli-modem-location.c b/cli/mmcli-modem-location.c
index 997e1a84a..eca5373cd 100644
--- a/cli/mmcli-modem-location.c
+++ b/cli/mmcli-modem-location.c
@@ -599,9 +599,9 @@ get_location_process_reply (MMLocation3gpp *location_3gpp,
g_print (" -------------------------\n"
" 3GPP location | Mobile country code: '%u'\n"
" | Mobile network code: '%u'\n"
- " | Location area code: '%lu'\n"
- " | Tracking area code: '%lu'\n"
- " | Cell ID: '%lu'\n",
+ " | Location area code: '%04lX'\n"
+ " | Tracking area code: '%04lX'\n"
+ " | Cell ID: '%08lX'\n",
mm_location_3gpp_get_mobile_country_code (location_3gpp),
mm_location_3gpp_get_mobile_network_code (location_3gpp),
mm_location_3gpp_get_location_area_code (location_3gpp),