mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-20 18:44:36 +03:00
ar71xx: use COMMAND_LINE_SIZE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19947 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fa8f585a08
commit
4001872b63
@ -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…
Reference in New Issue
Block a user