summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-01-11 14:59:14 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-01-11 15:01:02 +0100
commite5349bfb4954366579b521dc8181c01c5bd4679e (patch)
treefb0e4f407998ce5b5d47bde14043fc82357d83d9
parentfb71a0a0dddf68fa3f266aab5e35409773acc567 (diff)
downloadopenocd_libswd-e5349bfb4954366579b521dc8181c01c5bd4679e.tar.gz
openocd_libswd-e5349bfb4954366579b521dc8181c01c5bd4679e.tar.bz2
openocd_libswd-e5349bfb4954366579b521dc8181c01c5bd4679e.tar.xz
openocd_libswd-e5349bfb4954366579b521dc8181c01c5bd4679e.zip
target: return JIM_OK instead of ERROR_OK
No change in actual binary as JIM_OK == ERROR_OK, but JIM_OK is correct here. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
-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,