From 5ded522fa01b511547bf39bf556c6471257d6c28 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 14 Aug 2018 17:16:33 +0200 Subject: mmcli,location: print LAC/TAC/CID in hex All these values are usually specified in hex, not in dec. --- cli/mmcli-modem-location.c | 6 +++--- 1 file 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), -- cgit v1.2.1