ramips: fix compiler warning in prom.c
SVN-Revision: 30424
This commit is contained in:
parent
4e332227d0
commit
0430194cc3
1 changed files with 4 additions and 4 deletions
|
@ -43,13 +43,13 @@ static inline void *to_ram_addr(void *addr)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static char ramips_cmdline_buf[COMMAND_LINE_SIZE] __initdata;
|
||||||
static void __init prom_append_cmdline(const char *name,
|
static void __init prom_append_cmdline(const char *name,
|
||||||
const char *value)
|
const char *value)
|
||||||
{
|
{
|
||||||
char buf[COMMAND_LINE_SIZE];
|
snprintf(ramips_cmdline_buf, sizeof(ramips_cmdline_buf),
|
||||||
|
" %s=%s", name, value);
|
||||||
snprintf(buf, sizeof(buf), " %s=%s", name, value);
|
strlcat(arcs_cmdline, ramips_cmdline_buf, sizeof(arcs_cmdline));
|
||||||
strlcat(arcs_cmdline, buf, sizeof(arcs_cmdline));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_IMAGE_CMDLINE_HACK
|
#ifdef CONFIG_IMAGE_CMDLINE_HACK
|
||||||
|
|
Loading…
Reference in a new issue