|
@@ -34,7 +34,7 @@ static char __initdata command_line[COMMAND_LINE_SIZE] = { 0 };
|
|
static void __init add_arg(char *arg)
|
|
static void __init add_arg(char *arg)
|
|
{
|
|
{
|
|
if (strlen(command_line) + strlen(arg) + 1 > COMMAND_LINE_SIZE) {
|
|
if (strlen(command_line) + strlen(arg) + 1 > COMMAND_LINE_SIZE) {
|
|
- printf("add_arg: Too many command line arguments!\n");
|
|
|
|
|
|
+ os_warn("add_arg: Too many command line arguments!\n");
|
|
exit(1);
|
|
exit(1);
|
|
}
|
|
}
|
|
if (strlen(command_line) > 0)
|
|
if (strlen(command_line) > 0)
|
|
@@ -126,6 +126,7 @@ static const char *usage_string =
|
|
|
|
|
|
static int __init uml_version_setup(char *line, int *add)
|
|
static int __init uml_version_setup(char *line, int *add)
|
|
{
|
|
{
|
|
|
|
+ /* Explicitly use printf() to show version in stdout */
|
|
printf("%s\n", init_utsname()->release);
|
|
printf("%s\n", init_utsname()->release);
|
|
exit(0);
|
|
exit(0);
|
|
|
|
|
|
@@ -154,8 +155,8 @@ __uml_setup("root=", uml_root_setup,
|
|
|
|
|
|
static int __init no_skas_debug_setup(char *line, int *add)
|
|
static int __init no_skas_debug_setup(char *line, int *add)
|
|
{
|
|
{
|
|
- printf("'debug' is not necessary to gdb UML in skas mode - run \n");
|
|
|
|
- printf("'gdb linux'\n");
|
|
|
|
|
|
+ os_warn("'debug' is not necessary to gdb UML in skas mode - run\n");
|
|
|
|
+ os_warn("'gdb linux'\n");
|
|
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
@@ -171,6 +172,7 @@ static int __init Usage(char *line, int *add)
|
|
|
|
|
|
printf(usage_string, init_utsname()->release);
|
|
printf(usage_string, init_utsname()->release);
|
|
p = &__uml_help_start;
|
|
p = &__uml_help_start;
|
|
|
|
+ /* Explicitly use printf() to show help in stdout */
|
|
while (p < &__uml_help_end) {
|
|
while (p < &__uml_help_end) {
|
|
printf("%s", *p);
|
|
printf("%s", *p);
|
|
p++;
|
|
p++;
|