From db1593a52895c97623110c52a25dc84b06d57600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnim=20L=C3=A4uger?= Date: Wed, 11 Feb 2009 21:51:08 +0000 Subject: [PATCH] return proper error code to upper level git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1431 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 4 ++++ jtag/src/bsdl/bsdl_sem.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/jtag/ChangeLog b/jtag/ChangeLog index de13dff2..22d6d7b6 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,7 @@ +2009-02-11 Arnim Laeuger + + * src/bsdl/bsdl_sem.c: return proper error code to upper level + 2009-02-07 Arnim Laeuger * doc/UrJTAG.txt: turn http links into real hyperlinks diff --git a/jtag/src/bsdl/bsdl_sem.c b/jtag/src/bsdl/bsdl_sem.c index 70a2d8a0..11198b9f 100644 --- a/jtag/src/bsdl/bsdl_sem.c +++ b/jtag/src/bsdl/bsdl_sem.c @@ -689,7 +689,7 @@ int bsdl_process_elements( jtag_ctrl_t *jc, const char *idcode ) bsdl_msg( jc->proc_mode, BSDL_MSG_ERR, _("BSDL stage reported errors, aborting.\n") ); bsdl_parser_deinit( priv ); - return result; + return -1; } }