* [ PATCH 3/3 ] UML - More idiomatic parameter parsing
@ 2007-09-11 14:52 Jeff Dike
0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2007-09-11 14:52 UTC (permalink / raw)
To: Andrew Morton; +Cc: LKML, uml-devel, Robert P. J. Day
Make mconsole parameter parsing slightly more idiomatic.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
--
arch/um/drivers/mconsole_kern.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6.22/arch/um/drivers/mconsole_kern.c
===================================================================
--- linux-2.6.22.orig/arch/um/drivers/mconsole_kern.c 2007-09-09 10:23:29.000000000 -0400
+++ linux-2.6.22/arch/um/drivers/mconsole_kern.c 2007-09-11 10:38:17.000000000 -0400
@@ -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"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-09-11 14:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-11 14:52 [ PATCH 3/3 ] UML - More idiomatic parameter parsing Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox