ar71xx: use COMMAND_LINE_SIZE
authorGabor Juhos <juhosg@openwrt.org>
Tue, 2 Mar 2010 13:36:04 +0000 (13:36 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 2 Mar 2010 13:36:04 +0000 (13:36 +0000)
SVN-Revision: 19947

target/linux/ar71xx/files/arch/mips/ar71xx/prom.c

index 5b47d6bfe2ab4c146e51e378f7ac418d64891099..87d6da0067e641b76609af1fded3a01c9b57ec15 100644 (file)
@@ -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));