From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by ozlabs.org (Postfix) with ESMTP id 571E2DDF0D for ; Fri, 31 Oct 2008 13:51:35 +1100 (EST) Received: by yw-out-2324.google.com with SMTP id 5so405727ywh.39 for ; Thu, 30 Oct 2008 19:51:33 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=[127.0.1.1]) by terra with esmtp (Exim 4.69) (envelope-from ) id 1Kvk6m-0006sU-0c for linuxppc-dev@ozlabs.org; Thu, 30 Oct 2008 22:51:32 -0400 From: Jon Smirl Subject: [PATCH V2] Fix format string warning in arch/powerpc/boot/main.c To: linuxppc-dev@ozlabs.org Date: Thu, 30 Oct 2008 22:51:32 -0400 Message-ID: <20081031025131.26406.41818.stgit@terra> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Fix format string warning in arch/powerpc/boot/main.c BOOTCC arch/powerpc/boot/main.o arch/powerpc/boot/main.c: In function 'prep_kernel': arch/powerpc/boot/main.c:65: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long unsigned int' Signed-off-by: Jon Smirl --- arch/powerpc/boot/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/boot/main.c b/arch/powerpc/boot/main.c index ae32801..a28f021 100644 --- a/arch/powerpc/boot/main.c +++ b/arch/powerpc/boot/main.c @@ -63,7 +63,7 @@ static struct addr_range prep_kernel(void) */ if ((unsigned long)_start < ei.loadsize) fatal("Insufficient memory for kernel at address 0!" - " (_start=%p, uncomressed size=%08x)\n\r", + " (_start=%p, uncompressed size=%08lx)\n\r", _start, ei.loadsize); if ((unsigned long)_end < ei.memsize)