diff options
author | Laszlo Ersek <lersek@redhat.com> | 2015-07-28 18:33:23 +0000 |
---|---|---|
committer | lersek <lersek@Edk2> | 2015-07-28 18:33:23 +0000 |
commit | 6394c35a7db3d7a7cc68f491179a45fe430a335a (patch) | |
tree | 537f8795716d685c64e7ea96c7455a022e6bf09d /OvmfPkg/Library/SerializeVariablesLib | |
parent | 00899456b809b7a0809e92d3e020435eece0effd (diff) | |
download | edk2-6394c35a7db3d7a7cc68f491179a45fe430a335a.tar.gz edk2-6394c35a7db3d7a7cc68f491179a45fe430a335a.tar.bz2 edk2-6394c35a7db3d7a7cc68f491179a45fe430a335a.zip |
OvmfPkg: fix conversion specifiers in DEBUG format strings
Cc: Scott Duplichan <scott@notabs.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Reported-by: Scott Duplichan <scott@notabs.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Build-tested-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18095 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/Library/SerializeVariablesLib')
-rw-r--r-- | OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.c b/OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.c index 19569b2ae0..6822c5c725 100644 --- a/OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.c +++ b/OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.c @@ -218,9 +218,9 @@ IterateVariablesInBuffer ( if (TotalSizeUsed != MaxSize) { DEBUG (( EFI_D_ERROR, - "Deserialize variables error: TotalSizeUsed(%d) != MaxSize(%d)\n", - TotalSizeUsed, - MaxSize + "Deserialize variables error: TotalSizeUsed(%Lu) != MaxSize(%Lu)\n", + (UINT64)TotalSizeUsed, + (UINT64)MaxSize )); return EFI_INVALID_PARAMETER; } |