diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2009-11-27 19:41:22 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2009-11-27 19:42:38 +0100 |
commit | 46ed068bacec3c40aa543e78e99b51e30aacf15b (patch) | |
tree | 82274e846d2b2c77e0f7bd26d6314fb2290ae01c /src | |
parent | bd3ef5ca3d11c228aece1a1a654a8c89bd6d0e05 (diff) | |
download | openocd_libswd-46ed068bacec3c40aa543e78e99b51e30aacf15b.tar.gz openocd_libswd-46ed068bacec3c40aa543e78e99b51e30aacf15b.tar.bz2 openocd_libswd-46ed068bacec3c40aa543e78e99b51e30aacf15b.tar.xz openocd_libswd-46ed068bacec3c40aa543e78e99b51e30aacf15b.zip |
zy1000: keep up with changes to log_init()
fn's and return value for log_init() changed to void.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/ecosboard.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ecosboard.c b/src/ecosboard.c index 27894644..5588934a 100644 --- a/src/ecosboard.c +++ b/src/ecosboard.c @@ -1098,13 +1098,7 @@ int main(int argc, char *argv[]) Jim_CreateCommand(interp, "uart", zylinjtag_Jim_Command_uart, NULL, NULL); - int errVal; - errVal = log_init(cmd_ctx); - if (errVal != ERROR_OK) - { - diag_printf("log_init() failed %d\n", errVal); - exit(-1); - } + log_init(); set_log_output(cmd_ctx, log); |