From patchwork Sun Sep 23 19:04:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 186266 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id C99302C009E for ; Mon, 24 Sep 2012 05:04:26 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1TFrRI-00037b-W0; Sun, 23 Sep 2012 19:02:01 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1TFrRG-000377-7e for fwts-devel@lists.ubuntu.com; Sun, 23 Sep 2012 19:01:58 +0000 Received: from cpc3-craw6-2-0-cust180.croy.cable.virginmedia.com ([77.100.248.181] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1TFrTa-0004RI-PJ; Sun, 23 Sep 2012 19:04:22 +0000 From: Colin King To: fwts-devel@lists.ubuntu.com, colin.king@canonical.com Subject: [PATCH 17/18] uefi: csm: print format using inttypes Date: Sun, 23 Sep 2012 20:04:00 +0100 Message-Id: <1348427041-4913-18-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1348427041-4913-1-git-send-email-colin.king@canonical.com> References: <1348427041-4913-1-git-send-email-colin.king@canonical.com> X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: fwts-devel-bounces@lists.ubuntu.com Errors-To: fwts-devel-bounces@lists.ubuntu.com From: Colin Ian King Signed-off-by: Colin Ian King Acked-by: Keng-Yu Lin Acked-by: Ivan Hu --- src/uefi/csm/csm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/uefi/csm/csm.c b/src/uefi/csm/csm.c index c6f614d..4f755ba 100644 --- a/src/uefi/csm/csm.c +++ b/src/uefi/csm/csm.c @@ -20,6 +20,7 @@ #ifdef FWTS_ARCH_INTEL #include +#include /* Real Mode IDT */ #define INT_VEC_START (0x00000000) @@ -67,9 +68,9 @@ static int csm_test1(fwts_framework *fw) int ROMend = BIOS_ROM_REGION_START+i+length; if ((ROMstart <= int10hVec) && (int10hVec <= ROMend)) { - fwts_log_info(fw, "Int 10h jumps to 0x%x in option ROM at: " + fwts_log_info(fw, "Int 10h jumps to 0x%" PRIx32 " in option ROM at: " "0x%x..0x%0x", - (int)int10hVec, ROMstart, ROMend); + int10hVec, ROMstart, ROMend); flag |= VGA_SUPPORT; break; }