From: Jeff Dike Date: Tue, 16 Oct 2007 08:27:20 +0000 (-0700) Subject: uml: more idiomatic parameter parsing X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=088bec4141ceb663eecdd961292d110db891db73;p=linux-edison.git uml: more idiomatic parameter parsing Make mconsole parameter parsing slightly more idiomatic. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/um/drivers/mconsole_kern.c b/arch/um/drivers/mconsole_kern.c index 642bee2eeaf..0f3c7d14a6e 100644 --- a/arch/um/drivers/mconsole_kern.c +++ b/arch/um/drivers/mconsole_kern.c @@ -878,7 +878,7 @@ void unlock_notify(void) __initcall(create_proc_mconsole); -#define NOTIFY "=notify:" +#define NOTIFY "notify:" static int mconsole_setup(char *str) { @@ -890,7 +890,7 @@ static int mconsole_setup(char *str) return 1; } -__setup("mconsole", mconsole_setup); +__setup("mconsole=", mconsole_setup); __uml_help(mconsole_setup, "mconsole=notify:\n"