Skip to content
Commit 54051768 authored by Gerd Hoffmann's avatar Gerd Hoffmann Committed by mergify[bot]
Browse files

UefiCpuPkg/PiSmmCpuDxeSmm: fix format string



BufferPages is UINTN, so we need "%Lu" when printing it to avoid
it being truncated.  Also cast to UINT64 to make sure it works
for 32bit builds too.

Fixes: 4f441d02 ("UefiCpuPkg/PiSmmCpuDxeSmm: fix error handling")
Reported-by: default avatarLaszlo Ersek <lersek@redhat.com>
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Reviewed-by: default avatarLaszlo Ersek <lersek@redhat.com>
Reviewed-by: default avatarRay Ni <ray.ni@intel.com>
parent 71210053
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment