diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-10-16 01:27:20 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 09:43:08 -0700 |
commit | 088bec4141ceb663eecdd961292d110db891db73 (patch) | |
tree | 12bb521c80f5cdaa9f6f641ce64e045ceacde12f /arch | |
parent | 92128504f9c48cca3e31860c98bd1292142db288 (diff) | |
download | op-kernel-dev-088bec4141ceb663eecdd961292d110db891db73.zip op-kernel-dev-088bec4141ceb663eecdd961292d110db891db73.tar.gz |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/um/drivers/mconsole_kern.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/drivers/mconsole_kern.c b/arch/um/drivers/mconsole_kern.c index 642bee2..0f3c7d1 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:<socket>\n" |