From 46ed068bacec3c40aa543e78e99b51e30aacf15b Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Fri, 27 Nov 2009 19:41:22 +0100 Subject: zy1000: keep up with changes to log_init() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fn's and return value for log_init() changed to void. Signed-off-by: Øyvind Harboe --- src/ecosboard.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/ecosboard.c') 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); -- cgit v1.2.3