# HG changeset patch # User Mychaela Falconia # Date 1615099581 0 # Node ID 43b57865fdb506f61572779cffea5996c0a18865 # Parent 31cd62f91522bdd7ab8fb9cd13f0f81db31dd835 fc-simtool spn command: fix ancient bug diff -r 31cd62f91522 -r 43b57865fdb5 simtool/hlread.c --- 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);