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>
This commit is contained in:
Øyvind Harboe 2009-11-27 19:41:22 +01:00
parent bd3ef5ca3d
commit 46ed068bac
1 changed files with 1 additions and 7 deletions

View File

@ -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);