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 | df9c2ca43747ccc28ccedbe5a2873f2141a85d5a (patch) | |
tree | 540475aaf311503c8730d30bf22c314d641343a2 /target | |
parent | ef66d316b26f84d99c954ab9c2d8b39e408044a0 (diff) | |
download | upstream-df9c2ca43747ccc28ccedbe5a2873f2141a85d5a.tar.gz upstream-df9c2ca43747ccc28ccedbe5a2873f2141a85d5a.tar.bz2 upstream-df9c2ca43747ccc28ccedbe5a2873f2141a85d5a.zip |
ar71xx: use COMMAND_LINE_SIZE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19947 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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 5b47d6bfe2..87d6da0067 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)); |