sim: add decoding of status words
diff --git a/utils/osmo-sim-test.c b/utils/osmo-sim-test.c
index 482ca31..df114de 100644
--- a/utils/osmo-sim-test.c
+++ b/utils/osmo-sim-test.c
@@ -297,6 +297,7 @@
 		printf("Unable to select file\n");
 		return -EIO;
 	}
+	printf("SW: %s\n", osim_print_sw(chan->card, msgb_apdu_sw(msg)));
 	if (msgb_apdu_sw(msg) != 0x9000) {
 		printf("status 0x%04x selecting file\n", msgb_apdu_sw(msg));
 		goto out;
@@ -334,6 +335,7 @@
 			rmsg = read_record_nr(chan, i+1, ffdd.rec_len);
 			if (!msg)
 				return -EIO;
+			printf("SW: %s\n", osim_print_sw(chan->card, msgb_apdu_sw(msg)));
 			printf("Rec %03u: %s\n", i+1,
 				osmo_hexdump(msgb_apdu_de(rmsg), msgb_apdu_le(rmsg)));
 		}
@@ -390,6 +392,7 @@
 
 	msg = select_file(chan, 0x6fc5);
 	dump_fcp_template_msg(msg);
+	printf("SW: %s\n", osim_print_sw(chan->card, msgb_apdu_sw(msg)));
 	msgb_free(msg);
 
 	verify_pin(chan, 1, "1653");