]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/GenBootSector: Fix parameter format mismatch in printf functions
authorHao Wu <hao.a.wu@intel.com>
Mon, 10 Oct 2016 01:35:05 +0000 (09:35 +0800)
committerHao Wu <hao.a.wu@intel.com>
Tue, 8 Nov 2016 08:36:45 +0000 (16:36 +0800)
commitf8708503cf354afcbb989583746f1e331014c059
tree4fd2dd506ac28151c3c6dcb18da623ae9f5f7a81
parent61eb9834a30299f506e61deef6337dc77c726517
BaseTools/GenBootSector: Fix parameter format mismatch in printf functions

The return value of GetLastError() API is 32-bit unsigned integer, change
the relating format specification from '%x' to '%lx' to keep them matched.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/C/GenBootSector/GenBootSector.c