change kernel_args to kernel_cmdline for kernel command line override
authorFelix Fietkau <nbd@openwrt.org>
Sun, 3 Jul 2005 00:46:10 +0000 (00:46 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 3 Jul 2005 00:46:10 +0000 (00:46 +0000)
SVN-Revision: 1320

openwrt/target/linux/linux-2.4/patches/brcm/001-bcm47xx.patch

index 5e3fc34fe6457e6bec628f3877b2a2d33b8c42f6..6a13cb0091bd745cc0bc5297e7f60575902e512b 100644 (file)
@@ -12143,7 +12143,7 @@ diff -Nur linux-2.4.30/arch/mips/bcm947xx/setup.c linux-2.4.30-brcm/arch/mips/bc
 +#endif
 +
 +      /* Override default command line arguments */
-+      value = nvram_get("kernel_args");
++      value = nvram_get("kernel_cmdline");
 +      if (value && strlen(value) && strncmp(value, "empty", 5))
 +              strncpy(arcs_cmdline, value, sizeof(arcs_cmdline));
 +