summaryrefslogtreecommitdiff
path: root/src/jtag
diff options
context:
space:
mode:
Diffstat (limited to 'src/jtag')
-rw-r--r--src/jtag/jtag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c
index 74f00900..17f212c3 100644
--- a/src/jtag/jtag.c
+++ b/src/jtag/jtag.c
@@ -1523,7 +1523,7 @@ static int jtag_init_inner(struct command_context_s *cmd_ctx)
jtag_device_t *device;
int retval;
- LOG_DEBUG("-");
+ LOG_DEBUG("Init JTAG chain");
device = jtag_devices;
jtag_ir_scan_size = 0;
@@ -1536,7 +1536,7 @@ static int jtag_init_inner(struct command_context_s *cmd_ctx)
}
jtag_add_tlr();
- if ((retval=jtag_execute_queue())==ERROR_OK)
+ if ((retval=jtag_execute_queue())!=ERROR_OK)
return retval;
/* examine chain first, as this could discover the real chain layout */