From e5349bfb4954366579b521dc8181c01c5bd4679e Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Harboe?= Date: Mon, 11 Jan 2010 14:59:14 +0100 Subject: [PATCH] target: return JIM_OK instead of ERROR_OK MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit No change in actual binary as JIM_OK == ERROR_OK, but JIM_OK is correct here. Signed-off-by: Øyvind Harboe --- src/jtag/tcl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5