ar71xx: use COMMAND_LINE_SIZE

SVN-Revision: 19947
master
Gabor Juhos 15 years ago
parent f96ecd026d
commit 347c5bc7fc
  1. 2
      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));

Loading…
Cancel
Save