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

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

index 80145c949390241ba050927fe2ea57570a0b2b61..055a3dc6edfae1fce2c9b06efea9e05187047f09 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));
 +