Skip to content

Commit

Permalink
When no yamon command line is passed to the kernel, preserve the default
Browse files Browse the repository at this point in the history
compiled in command line.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Pete Popov authored and Ralf Baechle committed Oct 29, 2005
1 parent 097975f commit 57e3e3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/mips/au1000/common/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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';

}

Expand Down

0 comments on commit 57e3e3b

Please sign in to comment.