X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1bd851b509d3a9236fb236fa6c4a861b53465540..86f7e2834ff8cc45f639d4a22a8af4cfdff015df:/target/linux/ramips/files/arch/mips/ralink/common/prom.c 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 fb37274ff..b207b66a8 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));