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>
This commit is contained in:
Øyvind Harboe 2010-01-11 14:59:14 +01:00
parent fb71a0a0dd
commit e5349bfb49
1 changed files with 1 additions and 1 deletions

View 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,