mirror of https://github.com/acidanthera/audk.git
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:
parent
0e549d5be5
commit
d251b34d2a
|
@ -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
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue