um: Use os_info for the messages on normal path
Use os_info() for printing out the messages on the normal execution path. Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:

committed by
Richard Weinberger

parent
f7887ee110
commit
d3878bb800
@@ -184,14 +184,13 @@ int __init main(int argc, char **argv, char **envp)
|
||||
*/
|
||||
unblock_signals();
|
||||
|
||||
os_info("\n");
|
||||
/* Reboot */
|
||||
if (ret) {
|
||||
printf("\n");
|
||||
execvp(new_argv[0], new_argv);
|
||||
perror("Failed to exec kernel");
|
||||
ret = 1;
|
||||
}
|
||||
printf("\n");
|
||||
return uml_exitcode;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user