summaryrefslogtreecommitdiff
path: root/target/linux/ramips/files
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
commit7ac21ada5557961676da562c0779af3bd565ad4e (patch)
tree2a7c48c799b3502c0303e21a9679854ad67fa7c1 /target/linux/ramips/files
parent178e4e9927423f279979255486820cc9ff620256 (diff)
downloadmtk-20170518-7ac21ada5557961676da562c0779af3bd565ad4e.zip
mtk-20170518-7ac21ada5557961676da562c0779af3bd565ad4e.tar.gz
mtk-20170518-7ac21ada5557961676da562c0779af3bd565ad4e.tar.bz2
ramips: use COMMAND_LINE_SIZE directly
SVN-Revision: 21606
Diffstat (limited to 'target/linux/ramips/files')
-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 fb37274..b207b66 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));