[kernel/2.6.39] MIPS: fix printing of size_t arg
authorFlorian Fainelli <florian@openwrt.org>
Fri, 2 Mar 2012 13:19:08 +0000 (13:19 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 2 Mar 2012 13:19:08 +0000 (13:19 +0000)
SVN-Revision: 30783

target/linux/generic/patches-2.6.39/335-mips-kexec-cleanup-kexec-tools-parameter-handling.patch

index f31e767a35541ea9efd37099bdccbec967968ae2..3df7b0b2d3add368d501aa43501bc5f8275313a7 100644 (file)
@@ -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]);
 +}