changeset 240:c7a3ba56c636

themwi-short-dial: fix bug in printf arguments
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 14 Aug 2023 15:37:59 -0800
parents 19d1c39ae4e7
children d7c2a2c0b922
files utils/themwi-short-dial.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/utils/themwi-short-dial.c	Mon Aug 14 15:35:04 2023 -0800
+++ b/utils/themwi-short-dial.c	Mon Aug 14 15:37:59 2023 -0800
@@ -35,7 +35,7 @@
 	switch (rec->short_num_type) {
 	case SHORT_NUM_TYPE_ABBREV:
 		printf("Short number %s is abbrev for +1-%03u-%03u-%04u\n",
-			rec->fullnum_prefix[0], rec->fullnum_prefix[1],
+			argv[1], rec->fullnum_prefix[0], rec->fullnum_prefix[1],
 			rec->short_num);
 		break;
 	case SHORT_NUM_TYPE_ITN: