aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-05-28 19:45:24 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-05-28 19:45:24 +0000
commit5430b616f42252452204da843b21d4c6f512bc48 (patch)
treedb652b77f742ce2fcf888f8a31489f2e3282447d /target/linux/ramips/files/arch
parent03224479d87c3317fd78505cd2da61b213b8b39d (diff)
downloadupstream-5430b616f42252452204da843b21d4c6f512bc48.tar.gz
upstream-5430b616f42252452204da843b21d4c6f512bc48.tar.bz2
upstream-5430b616f42252452204da843b21d4c6f512bc48.zip
ramips: use COMMAND_LINE_SIZE directly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21606 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/common/prom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/common/prom.c b/target/linux/ramips/files/arch/mips/ralink/common/prom.c
index fb37274fff..b207b66a8b 100644
--- a/target/linux/ramips/files/arch/mips/ralink/common/prom.c
+++ b/target/linux/ramips/files/arch/mips/ralink/common/prom.c
@@ -46,7 +46,7 @@ static inline void *to_ram_addr(void *addr)
static void __init prom_append_cmdline(const char *name,
const char *value)
{
- char buf[CL_SIZE];
+ char buf[COMMAND_LINE_SIZE];
snprintf(buf, sizeof(buf), " %s=%s", name, value);
strlcat(arcs_cmdline, buf, sizeof(arcs_cmdline));