1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 19:03:08 +02:00

ramips: fix compiler warning in prom.c

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30424 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2012-02-10 17:38:46 +00:00
parent d4a8a448fa
commit 3218c675a1

View File

@ -43,13 +43,13 @@ static inline void *to_ram_addr(void *addr)
return NULL;
}
static char ramips_cmdline_buf[COMMAND_LINE_SIZE] __initdata;
static void __init prom_append_cmdline(const char *name,
const char *value)
{
char buf[COMMAND_LINE_SIZE];
snprintf(buf, sizeof(buf), " %s=%s", name, value);
strlcat(arcs_cmdline, buf, sizeof(arcs_cmdline));
snprintf(ramips_cmdline_buf, sizeof(ramips_cmdline_buf),
" %s=%s", name, value);
strlcat(arcs_cmdline, ramips_cmdline_buf, sizeof(arcs_cmdline));
}
#ifdef CONFIG_IMAGE_CMDLINE_HACK