diff options
author | Mike Shaver <shaver@ingenia.com> | 1997-09-04 20:33:13 +0000 |
---|---|---|
committer | Mike Shaver <shaver@ingenia.com> | 1997-09-04 20:33:13 +0000 |
commit | 94f80f5e3f1c200db9f6661f08571e9103e7f172 (patch) | |
tree | 5783a1ffd3b3e064f74f98b66423b7f2c66872c7 | |
parent | aa9d6d509fb25984950935b0e1077589fd12b6a8 (diff) |
Mark Salter's trailing-space fix.
I can now boot from local disk!
-rw-r--r-- | arch/mips/sgi/prom/cmdline.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/sgi/prom/cmdline.c b/arch/mips/sgi/prom/cmdline.c index 4c7da5e43..35b6b48ac 100644 --- a/arch/mips/sgi/prom/cmdline.c +++ b/arch/mips/sgi/prom/cmdline.c @@ -1,4 +1,4 @@ -/* $Id: cmdline.c,v 1.1 1996/06/08 03:23:10 dm Exp $ +/* $Id: cmdline.c,v 1.1.1.1 1997/06/01 03:16:40 ralf Exp $ * cmdline.c: Kernel command line creation using ARCS argc/argv. * * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) @@ -52,6 +52,8 @@ void prom_init_cmdline(void) pic_cont: actr++; } + if (cp != &(arcs_cmdline[0])) /* get rid of trailing space */ + --cp; *cp = '\0'; #ifdef DEBUG_CMDLINE |