From bc407a38d63708298798440ce70acf7a14c4320c 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(-) (limited to 'cli/mmcli-modem-location.c') diff --git a/cli/mmcli-modem-location.c b/cli/mmcli-modem-location.c index f96a521d..91a73b24 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.3-70-g09d2