aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-10-16 04:27:20 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 12:43:08 -0400
commit088bec4141ceb663eecdd961292d110db891db73 (patch)
tree12bb521c80f5cdaa9f6f641ce64e045ceacde12f
parent92128504f9c48cca3e31860c98bd1292142db288 (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.c4
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
883static int mconsole_setup(char *str) 883static 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"