diff options
author | Laszlo Ersek <lersek@redhat.com> | 2015-07-28 18:33:23 +0000 |
---|---|---|
committer | lersek <lersek@Edk2> | 2015-07-28 18:33:23 +0000 |
commit | 6394c35a7db3d7a7cc68f491179a45fe430a335a (patch) | |
tree | 537f8795716d685c64e7ea96c7455a022e6bf09d /OvmfPkg/BlockMmioToBlockIoDxe | |
parent | 00899456b809b7a0809e92d3e020435eece0effd (diff) | |
download | edk2-6394c35a7db3d7a7cc68f491179a45fe430a335a.tar.gz edk2-6394c35a7db3d7a7cc68f491179a45fe430a335a.tar.bz2 edk2-6394c35a7db3d7a7cc68f491179a45fe430a335a.zip |
OvmfPkg: fix conversion specifiers in DEBUG format strings
Cc: Scott Duplichan <scott@notabs.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Reported-by: Scott Duplichan <scott@notabs.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Build-tested-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18095 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/BlockMmioToBlockIoDxe')
-rw-r--r-- | OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.c b/OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.c index af9e85ed4e..939792f2ad 100644 --- a/OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.c +++ b/OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.c @@ -187,7 +187,8 @@ BlockIoReadBlocks ( OUT VOID *Buffer
)
{
- DEBUG ((EFI_D_INFO, "BlockIo (MMIO) ReadBlocks: lba=0x%lx, size=0x%x\n", Lba, BufferSize));
+ DEBUG ((EFI_D_INFO, "BlockIo (MMIO) ReadBlocks: lba=0x%Lx, size=0x%Lx\n",
+ Lba, (UINT64)BufferSize));
return ReadOrWriteBlocks (
This,
TRUE,
@@ -234,7 +235,8 @@ BlockIoWriteBlocks ( IN VOID *Buffer
)
{
- DEBUG ((EFI_D_INFO, "BlockIo (MMIO) WriteBlocks: lba=0x%lx, size=0x%x\n", Lba, BufferSize));
+ DEBUG ((EFI_D_INFO, "BlockIo (MMIO) WriteBlocks: lba=0x%Lx, size=0x%Lx\n",
+ Lba, (UINT64)BufferSize));
return ReadOrWriteBlocks (
This,
FALSE,
@@ -309,7 +311,7 @@ BlockIoInit ( DEBUG ((EFI_D_ERROR, "BlockIoInit: OpenBlockMmioProtocol By Driver (%r)\n", Status));
goto ON_ERROR;
}
- DEBUG ((EFI_D_INFO, "BlockMmio: 0x%x\n", BlockMmio));
+ DEBUG ((EFI_D_INFO, "BlockMmio: %p\n", BlockMmio));
DEBUG ((EFI_D_INFO, "BlockMmio->Media->LastBlock: 0x%lx\n", BlockMmio->Media->LastBlock));
Private->Signature = BLOCK_MMIO_TO_BLOCK_IO_SIGNATURE;
|