aboutsummaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/mmcli-modem-location.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/mmcli-modem-location.c b/cli/mmcli-modem-location.c
index 21562a2a..1205aad3 100644
--- a/cli/mmcli-modem-location.c
+++ b/cli/mmcli-modem-location.c
@@ -536,7 +536,7 @@ get_location_process_reply (MMLocation3gpp *location_3gpp,
mcc = g_strndup (operator_code ? operator_code : "0", 3);
mnc = g_strdup (operator_code ? operator_code + 3 : "0");
lac = g_strdup_printf ("%04lX", mm_location_3gpp_get_location_area_code (location_3gpp));
- tac = g_strdup_printf ("%04lX", mm_location_3gpp_get_tracking_area_code (location_3gpp));
+ tac = g_strdup_printf ("%06lX", mm_location_3gpp_get_tracking_area_code (location_3gpp));
cid = g_strdup_printf ("%08lX", mm_location_3gpp_get_cell_id (location_3gpp));
}