aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-03-02 13:19:08 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-03-02 13:19:08 +0000
commita2a4b29327e07a0ec9240ba679b5ff20a366d50b (patch)
tree98d3017ec903cb55c87fd8d3d652a10c307c0ed3
parent50e59a87e550a50e7f2a4f1013b423b942be97b2 (diff)
downloadupstream-a2a4b29327e07a0ec9240ba679b5ff20a366d50b.tar.gz
upstream-a2a4b29327e07a0ec9240ba679b5ff20a366d50b.tar.bz2
upstream-a2a4b29327e07a0ec9240ba679b5ff20a366d50b.zip
[kernel/2.6.39] MIPS: fix printing of size_t arg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30783 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/generic/patches-2.6.39/335-mips-kexec-cleanup-kexec-tools-parameter-handling.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-2.6.39/335-mips-kexec-cleanup-kexec-tools-parameter-handling.patch b/target/linux/generic/patches-2.6.39/335-mips-kexec-cleanup-kexec-tools-parameter-handling.patch
index f31e767a35..3df7b0b2d3 100644
--- a/target/linux/generic/patches-2.6.39/335-mips-kexec-cleanup-kexec-tools-parameter-handling.patch
+++ b/target/linux/generic/patches-2.6.39/335-mips-kexec-cleanup-kexec-tools-parameter-handling.patch
@@ -28,7 +28,7 @@
-#define ARGV_MAX_ARGS (COMMAND_LINE_SIZE / 15)
+ for (i = 0; i < kexec_args[0]; i++)
-+ pr_info("kexec_argv[%d] = %p, %s\n", i,
++ pr_info("kexec_argv[%zd] = %p, %s\n", i,
+ (char *)kexec_argv[i], (char *)kexec_argv[i]);
+}