diff simtool/hlread.c @ 212:43b57865fdb5

fc-simtool spn command: fix ancient bug
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Mar 2021 06:46:21 +0000
parents 8d073ff62c48
children
line wrap: on
line diff
--- a/simtool/hlread.c	Sun Mar 07 06:41:40 2021 +0000
+++ b/simtool/hlread.c	Sun Mar 07 06:46:21 2021 +0000
@@ -141,7 +141,7 @@
 	fputs("SPN: ", outf);
 	rc = validate_alpha_field(sim_resp_data + 1, 16, &textlen);
 	if (rc >= 0)
-		print_alpha_field(sim_resp_data, textlen, outf);
+		print_alpha_field(sim_resp_data + 1, textlen, outf);
 	else
 		fputs("malformed alpha field", outf);
 	putc('\n', outf);