summaryrefslogtreecommitdiff
path: root/src/jtag/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jtag/driver.c')
-rw-r--r--src/jtag/driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/driver.c b/src/jtag/driver.c
index 6f205734..83ac56c4 100644
--- a/src/jtag/driver.c
+++ b/src/jtag/driver.c
@@ -392,7 +392,7 @@ int interface_jtag_add_pathmove(int num_states, const tap_state_t *path)
cmd->type = JTAG_PATHMOVE;
- cmd->cmd.pathmove = cmd_queue_alloc(sizeof(pathmove_command_t));
+ cmd->cmd.pathmove = cmd_queue_alloc(sizeof(struct pathmove_command));
cmd->cmd.pathmove->num_states = num_states;
cmd->cmd.pathmove->path = cmd_queue_alloc(sizeof(tap_state_t) * num_states);