summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jtag/tcl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/tcl.c b/src/jtag/tcl.c
index 7329cee1..f48993f6 100644
--- a/src/jtag/tcl.c
+++ b/src/jtag/tcl.c
@@ -623,7 +623,7 @@ static int jim_newtap_cmd(Jim_GetOptInfo *goi)
if (pTap->ir_length != 0)
{
jtag_tap_init(pTap);
- return ERROR_OK;
+ return JIM_OK;
}
Jim_SetResult_sprintf(goi->interp,