diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-10-16 04:27:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:08 -0400 |
commit | 088bec4141ceb663eecdd961292d110db891db73 (patch) | |
tree | 12bb521c80f5cdaa9f6f641ce64e045ceacde12f | |
parent | 92128504f9c48cca3e31860c98bd1292142db288 (diff) |
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>
-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 642bee2eeaf5..0f3c7d14a6e3 100644 --- a/arch/um/drivers/mconsole_kern.c +++ b/arch/um/drivers/mconsole_kern.c | |||
@@ -878,7 +878,7 @@ void unlock_notify(void) | |||
878 | 878 | ||
879 | __initcall(create_proc_mconsole); | 879 | __initcall(create_proc_mconsole); |
880 | 880 | ||
881 | #define NOTIFY "=notify:" | 881 | #define NOTIFY "notify:" |
882 | 882 | ||
883 | static int mconsole_setup(char *str) | 883 | static int mconsole_setup(char *str) |
884 | { | 884 | { |
@@ -890,7 +890,7 @@ static int mconsole_setup(char *str) | |||
890 | return 1; | 890 | return 1; |
891 | } | 891 | } |
892 | 892 | ||
893 | __setup("mconsole", mconsole_setup); | 893 | __setup("mconsole=", mconsole_setup); |
894 | 894 | ||
895 | __uml_help(mconsole_setup, | 895 | __uml_help(mconsole_setup, |
896 | "mconsole=notify:<socket>\n" | 896 | "mconsole=notify:<socket>\n" |