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/Bus/Pci/EhciDxe/Ehci.c | 2 +- MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'MdeModulePkg/Bus/Pci/EhciDxe') diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c index 9dccd6f00d..44405b73ce 100644 --- a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c +++ b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c @@ -1595,7 +1595,7 @@ EhcDriverBindingStart ( ); - DEBUG ((EFI_D_INFO, "EhcDriverBindingStart: EHCI started for controller @ %x\n", Controller)); + DEBUG ((EFI_D_INFO, "EhcDriverBindingStart: EHCI started for controller @ %p\n", Controller)); return EFI_SUCCESS; UNINSTALL_USBHC: diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.c b/MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.c index bdc8f2ff03..ca3e2524db 100644 --- a/MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.c +++ b/MdeModulePkg/Bus/Pci/EhciDxe/EhciDebug.c @@ -145,7 +145,7 @@ EhcDumpQh ( DEBUG ((EFI_D_INFO, Msg)); } - DEBUG ((EFI_D_INFO, "Queue head @ 0x%x, interval %d, next qh %x\n", + DEBUG ((EFI_D_INFO, "Queue head @ 0x%p, interval %d, next qh %x\n", Qh, Qh->Interval, Qh->NextQh)); QhHw = &Qh->QhHw; -- cgit v1.2.3