diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2018-08-14 17:16:33 +0200 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2018-09-12 17:15:13 +0000 |
commit | bc407a38d63708298798440ce70acf7a14c4320c (patch) | |
tree | 54ad60b6d8368dc560774516e65c447c6ceb61b0 | |
parent | 6e84f3d45934e4f1e334c4bfd0d9a43d88889039 (diff) | |
download | ModemManager-bc407a38d63708298798440ce70acf7a14c4320c.tar.gz |
mmcli,location: print LAC/TAC/CID in hex
All these values are usually specified in hex, not in dec.
-rw-r--r-- | cli/mmcli-modem-location.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/mmcli-modem-location.c b/cli/mmcli-modem-location.c index f96a521df..91a73b24c 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), |