summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/arch/mips
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-02 13:36:04 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-02 13:36:04 +0000
commit4001872b63448ccf06347122a29022a251b82495 (patch)
tree540475aaf311503c8730d30bf22c314d641343a2 /target/linux/ar71xx/files/arch/mips
parentfa8f585a08b8278cf06c61d4c058f4dcaa46a473 (diff)
ar71xx: use COMMAND_LINE_SIZE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19947 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/prom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/prom.c b/target/linux/ar71xx/files/arch/mips/ar71xx/prom.c
index 5b47d6bfe2..87d6da0067 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/prom.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/prom.c
@@ -36,7 +36,7 @@ static inline int is_valid_ram_addr(void *addr)
static void __init ar71xx_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));