linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ppopov@linux-mips.org
Date: Tue, 13 Sep 2005 23:53:02 +0100
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ppopov@ftp.linux-mips.org       05/09/13 23:52:55

Modified files:
        arch/mips/au1000/common: prom.c 

Log message:
        When no yamon command line is passed to the kernel, preserve the default
        compiled in command line.

diff -urN linux/arch/mips/au1000/common/prom.c 
linux/arch/mips/au1000/common/prom.c
--- linux/arch/mips/au1000/common/prom.c        2004/01/28 22:16:39     1.12
+++ linux/arch/mips/au1000/common/prom.c        2005/09/13 22:52:55     1.13
@@ -75,7 +75,8 @@
        }
        if (cp != &(arcs_cmdline[0])) /* get rid of trailing space */
                --cp;
-       *cp = '\0';
+       if (prom_argc > 1)
+               *cp = '\0';
 
 }
 

<Prev in Thread] Current Thread [Next in Thread>