summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/DebugSupportDxe
diff options
context:
space:
mode:
authorjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-18 08:48:36 +0000
committerjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-18 08:48:36 +0000
commit7df7393feb90e87c32f5473af14eec7562b09ce3 (patch)
tree00e220c92b78da54e074ef742ee8392852f864a5 /MdeModulePkg/Universal/DebugSupportDxe
parentd20c09b28247c7e839072d3a21f542de95abb246 (diff)
downloadedk2-7df7393feb90e87c32f5473af14eec7562b09ce3.zip
edk2-7df7393feb90e87c32f5473af14eec7562b09ce3.tar.gz
edk2-7df7393feb90e87c32f5473af14eec7562b09ce3.tar.bz2
check the usage of %d,%x,%ld,%lx and so on in debug print statement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7080 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/DebugSupportDxe')
-rw-r--r--MdeModulePkg/Universal/DebugSupportDxe/Ipf/PlDebugSupport.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Universal/DebugSupportDxe/Ipf/PlDebugSupport.c b/MdeModulePkg/Universal/DebugSupportDxe/Ipf/PlDebugSupport.c
index 1e1c89d..e23a675 100644
--- a/MdeModulePkg/Universal/DebugSupportDxe/Ipf/PlDebugSupport.c
+++ b/MdeModulePkg/Universal/DebugSupportDxe/Ipf/PlDebugSupport.c
@@ -107,10 +107,10 @@ CommonHandler (
DEBUG ((EFI_D_INFO, "ERROR: Re-entered debugger!\n"
" ExceptionType == %X\n"
" Context == %X\n"
- " Context.SystemContextIpf->CrIip == %X\n"
- " Context.SystemContextIpf->CrIpsr == %X\n"
+ " Context.SystemContextIpf->CrIip == %LX\n"
+ " Context.SystemContextIpf->CrIpsr == %LX\n"
" mInHandler == %X\n",
- ExceptionType,
+ (INT32)ExceptionType,
Context,
Context.SystemContextIpf->CrIip,
Context.SystemContextIpf->CrIpsr,