]> git.sur5r.net Git - openocd/commitdiff
target: return JIM_OK instead of ERROR_OK
authorØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 11 Jan 2010 13:59:14 +0000 (14:59 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 11 Jan 2010 14:01:02 +0000 (15:01 +0100)
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>
src/jtag/tcl.c

index 7329cee17264bd789f4c44a53cd590496a225fac..f48993f69d6c8bf489d2f29959bb9ce54d7eed42 100644 (file)
@@ -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,