Skip to content

Commit 088bec4

Browse files
cfd-36Linus Torvalds
authored andcommitted
uml: more idiomatic parameter parsing
Make mconsole parameter parsing slightly more idiomatic. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 9212850 commit 088bec4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎arch/um/drivers/mconsole_kern.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ void unlock_notify(void)
878878

879879
__initcall(create_proc_mconsole);
880880

881-
#define NOTIFY "=notify:"
881+
#define NOTIFY "notify:"
882882

883883
static int mconsole_setup(char *str)
884884
{
@@ -890,7 +890,7 @@ static int mconsole_setup(char *str)
890890
return 1;
891891
}
892892

893-
__setup("mconsole", mconsole_setup);
893+
__setup("mconsole=", mconsole_setup);
894894

895895
__uml_help(mconsole_setup,
896896
"mconsole=notify:<socket>\n"

0 commit comments

Comments
 (0)