From: Gabor Juhos Date: Tue, 2 Mar 2010 13:36:04 +0000 (+0000) Subject: ar71xx: use COMMAND_LINE_SIZE X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=347c5bc7fc270f68eb8c974b5be03f301a150572;p=openwrt%2Fstaging%2Fjow.git ar71xx: use COMMAND_LINE_SIZE SVN-Revision: 19947 --- 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));