summaryrefslogtreecommitdiff
path: root/src/jtag/bitq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jtag/bitq.c')
-rw-r--r--src/jtag/bitq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/bitq.c b/src/jtag/bitq.c
index f347f7dc..6dc9ec96 100644
--- a/src/jtag/bitq.c
+++ b/src/jtag/bitq.c
@@ -172,7 +172,7 @@ void bitq_path_move(pathmove_command_t *cmd)
if (tap_transitions[cur_state].low == cmd->path[i]) bitq_io(0, 0, 0);
else if (tap_transitions[cur_state].high == cmd->path[i]) bitq_io(1, 0, 0);
else {
- LOG_ERROR("BUG: %s -> %s isn't a valid TAP transition", tap_state_strings[cur_state], tap_state_strings[cmd->path[i]]);
+ LOG_ERROR("BUG: %s -> %s isn't a valid TAP transition", jtag_state_name(cur_state), jtag_state_name(cmd->path[i)]);
exit(-1);
}