提交 57e3e3b9 编写于 作者: P Pete Popov 提交者: Ralf Baechle

When no yamon command line is passed to the kernel, preserve the default

compiled in command line.
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 097975fc
......@@ -75,7 +75,8 @@ void prom_init_cmdline(void)
}
if (cp != &(arcs_cmdline[0])) /* get rid of trailing space */
--cp;
*cp = '\0';
if (prom_argc > 1)
*cp = '\0';
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册