From e5349bfb4954366579b521dc8181c01c5bd4679e Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Mon, 11 Jan 2010 14:59:14 +0100 Subject: target: return JIM_OK instead of ERROR_OK MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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(-) (limited to 'src/jtag/tcl.c') 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, -- cgit v1.2.3