From: Øyvind Harboe Date: Fri, 27 Nov 2009 18:41:22 +0000 (+0100) Subject: zy1000: keep up with changes to log_init() X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=46ed068bacec3c40aa543e78e99b51e30aacf15b;p=fw%2Fopenocd zy1000: keep up with changes to log_init() fn's and return value for log_init() changed to void. Signed-off-by: Øyvind Harboe --- diff --git a/src/ecosboard.c b/src/ecosboard.c index 27894644c..5588934ac 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);