summaryrefslogtreecommitdiff
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
commit90481d9b3a8e711b8d65498123436454160d549e (patch)
treeb9f99629bc3ae8aa4c326863e7c840a473655eec
parent112d6c7b74f2b22dd0fd1f4c4367019e2bed31f4 (diff)
downloadmtk-20170518-90481d9b3a8e711b8d65498123436454160d549e.zip
mtk-20170518-90481d9b3a8e711b8d65498123436454160d549e.tar.gz
mtk-20170518-90481d9b3a8e711b8d65498123436454160d549e.tar.bz2
MIPS: fix printing of size_t arg
SVN-Revision: 30783
-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 f31e767..3df7b0b 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]);
+}