diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-03-02 13:36:04 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-03-02 13:36:04 +0000 |
commit | 347c5bc7fc270f68eb8c974b5be03f301a150572 (patch) | |
tree | 2628d2edbcb0968667c4ac8deafc321c1c1ae4af | |
parent | f96ecd026d6c8fdb48d1eaec71838193559850a0 (diff) | |
download | mtk-20170518-347c5bc7fc270f68eb8c974b5be03f301a150572.zip mtk-20170518-347c5bc7fc270f68eb8c974b5be03f301a150572.tar.gz mtk-20170518-347c5bc7fc270f68eb8c974b5be03f301a150572.tar.bz2 |
ar71xx: use COMMAND_LINE_SIZE
SVN-Revision: 19947
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/prom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/prom.c b/target/linux/ar71xx/files/arch/mips/ar71xx/prom.c index 5b47d6b..87d6da0 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/prom.c +++ b/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)); |