mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 00:34:52 +00:00
When no yamon command line is passed to the kernel, preserve the default
compiled in command line. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
097975fc66
commit
57e3e3b918
1 changed files with 2 additions and 1 deletions
|
@ -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';
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue