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@6254 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12 2008-10-27 10:13:49 +00:00
parent 0e549d5be5
commit d251b34d2a
2 changed files with 2 additions and 2 deletions

View File

@ -209,7 +209,7 @@ OemHookStatusCodeReport (
CharCount += AsciiSPrint ( CharCount += AsciiSPrint (
&Buffer[CharCount - 1], &Buffer[CharCount - 1],
(EFI_STATUS_CODE_DATA_MAX_SIZE - (sizeof (Buffer[0]) * CharCount)), (EFI_STATUS_CODE_DATA_MAX_SIZE - (sizeof (Buffer[0]) * CharCount)),
" %x", " %p",
Data Data
); );
} }

View File

@ -218,7 +218,7 @@ OemHookStatusCodeReport (
CharCount += AsciiSPrint ( CharCount += AsciiSPrint (
&Buffer[CharCount - 1], &Buffer[CharCount - 1],
(EFI_STATUS_CODE_DATA_MAX_SIZE - (sizeof (Buffer[0]) * CharCount)), (EFI_STATUS_CODE_DATA_MAX_SIZE - (sizeof (Buffer[0]) * CharCount)),
" %x", " %p",
Data Data
); );
} }