mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 22:50:41 +00:00
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>
This commit is contained in:
parent
92128504f9
commit
088bec4141
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user