summaryrefslogtreecommitdiff
path: root/src/jtag/usbprog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jtag/usbprog.c')
-rw-r--r--src/jtag/usbprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/usbprog.c b/src/jtag/usbprog.c
index 872f7339..419ad4e0 100644
--- a/src/jtag/usbprog.c
+++ b/src/jtag/usbprog.c
@@ -282,7 +282,7 @@ void usbprog_path_move(pathmove_command_t *cmd)
}
else
{
- LOG_ERROR("BUG: %s -> %s isn't a valid TAP transition", tap_state_strings[cur_state], tap_state_strings[cmd->path[state_count]]);
+ LOG_ERROR("BUG: %s -> %s isn't a valid TAP transition", jtag_state_name(cur_state), jtag_state_name(cmd->path[state_count]));
exit(-1);
}