From 6394c35a7db3d7a7cc68f491179a45fe430a335a Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Tue, 28 Jul 2015 18:33:23 +0000 Subject: OvmfPkg: fix conversion specifiers in DEBUG format strings Cc: Scott Duplichan Cc: Jordan Justen Reported-by: Scott Duplichan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Build-tested-by: Scott Duplichan Reviewed-by: Jordan Justen git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18095 6f19259b-4bc3-4df7-8a09-765794883524 --- OvmfPkg/XenPvBlkDxe/BlockFront.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'OvmfPkg/XenPvBlkDxe/BlockFront.c') diff --git a/OvmfPkg/XenPvBlkDxe/BlockFront.c b/OvmfPkg/XenPvBlkDxe/BlockFront.c index afaa95983b..256ac55f25 100644 --- a/OvmfPkg/XenPvBlkDxe/BlockFront.c +++ b/OvmfPkg/XenPvBlkDxe/BlockFront.c @@ -278,7 +278,7 @@ Again: // // This is not supported by the driver. // - DEBUG ((EFI_D_ERROR, "XenPvBlk: Unsupported sector-size value %d, " + DEBUG ((EFI_D_ERROR, "XenPvBlk: Unsupported sector-size value %Lu, " "it must be a multiple of 512\n", Value)); goto Error2; } @@ -384,7 +384,7 @@ XenPvBlockFrontShutdown ( break; } DEBUG ((EFI_D_INFO, - "XenPvBlk: waiting backend state %d, current: %d\n", + "XenPvBlk: waiting backend state %d, current: %Lu\n", XenbusStateInitWait, Value)); XenBusIo->WaitForWatch (XenBusIo, Dev->StateWatchToken); } @@ -596,11 +596,11 @@ XenPvBlockAsyncIoPoll ( if (Status != BLKIF_RSP_OKAY) { DEBUG ((EFI_D_ERROR, "XenPvBlk: " - "%a error %d on %a at sector %p, num bytes %p\n", + "%a error %d on %a at sector %Lx, num bytes %Lx\n", Response->operation == BLKIF_OP_READ ? "read" : "write", Status, IoData->Dev->NodeName, - IoData->Sector, - IoData->Size)); + (UINT64)IoData->Sector, + (UINT64)IoData->Size)); } for (Index = 0; Index < IoData->NumRef; Index++) { -- cgit v1.2.3