From 0e549d5be531a840503445d38b4dad2315ef3413 Mon Sep 17 00:00:00 2001 From: qwang12 Date: Mon, 27 Oct 2008 10:13:00 +0000 Subject: Make use of correct format String: 1) UINT64 should use %lx 2) POINTER type should use %p 3) EFI_STATUS should use %r git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6253 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/Network/SnpDxe/Snp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'MdeModulePkg/Universal/Network/SnpDxe/Snp.c') diff --git a/MdeModulePkg/Universal/Network/SnpDxe/Snp.c b/MdeModulePkg/Universal/Network/SnpDxe/Snp.c index 31b5022bd0..e01a135708 100644 --- a/MdeModulePkg/Universal/Network/SnpDxe/Snp.c +++ b/MdeModulePkg/Universal/Network/SnpDxe/Snp.c @@ -221,7 +221,7 @@ del_v2p ( FreePool (v); if (Status) { - DEBUG ((EFI_D_ERROR, "Unmap failed with status = %x\n", Status)); + DEBUG ((EFI_D_ERROR, "Unmap failed with status = %r\n", Status)); } return Status; } @@ -233,7 +233,7 @@ del_v2p ( FreePool (t); if (Status) { - DEBUG ((EFI_D_ERROR, "Unmap failed with status = %x\n", Status)); + DEBUG ((EFI_D_ERROR, "Unmap failed with status = %r\n", Status)); } return Status; } @@ -353,12 +353,12 @@ SimpleNetworkDriverSupported ( if (EFI_ERROR (Status)) { if (Status == EFI_ALREADY_STARTED) { - DEBUG ((EFI_D_INFO, "Support(): Already Started. on handle %x\n", Controller)); + DEBUG ((EFI_D_INFO, "Support(): Already Started. on handle %p\n", Controller)); } return Status; } - DEBUG ((EFI_D_INFO, "Support(): UNDI3.1 found on handle %x\n", Controller)); + DEBUG ((EFI_D_INFO, "Support(): UNDI3.1 found on handle %p\n", Controller)); // // check the version, we don't want to connect to the undi16 @@ -422,7 +422,7 @@ SimpleNetworkDriverSupported ( } Status = EFI_SUCCESS; - DEBUG ((EFI_D_INFO, "Support(): supported on %x\n", Controller)); + DEBUG ((EFI_D_INFO, "Support(): supported on %p\n", Controller)); Done: gBS->CloseProtocol ( -- cgit v1.2.3