From 3ab0d998571e0c5aff68c84c931fb82de1ad23be Mon Sep 17 00:00:00 2001 From: juhosg Date: Fri, 28 May 2010 19:45:24 +0000 Subject: ramips: use COMMAND_LINE_SIZE directly git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21606 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/files/arch/mips/ralink/common/prom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ramips/files/arch/mips') 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)); -- cgit v1.2.3