提交 088bec41 编写于 作者: J Jeff Dike 提交者: Linus Torvalds

uml: more idiomatic parameter parsing

Make mconsole parameter parsing slightly more idiomatic.
Signed-off-by: NJeff Dike <jdike@linux.intel.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 92128504
......@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册