diff options
author | Hao Wu <hao.a.wu@intel.com> | 2016-11-28 15:18:20 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-12-05 09:48:28 +0800 |
commit | 3883e2cb52fa1582165d6558c67649835d0eada3 (patch) | |
tree | 7458ab3ad514d018782d5e2e09389a92f1397e1e /EdkShellPkg/EdkShellPkg.dsc | |
parent | 0db4acb61ac4e79a8a95b0e82874e8b6bed8e4bb (diff) | |
download | edk2-platforms-3883e2cb52fa1582165d6558c67649835d0eada3.tar.xz |
BaseTools/VolInfo: Fix printf issue using '%ls' in format string
https://bugzilla.tianocore.org/show_bug.cgi?id=257
For GCC compilers, when building with option '-fshort-wchar', wide char
string format '%ls' does not work properly for printf() function. The
string specified by '%ls' will not be printed.
This commit avoids using '%ls' for printf() function and converts the wide
char string to char string for printing.
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>
Diffstat (limited to 'EdkShellPkg/EdkShellPkg.dsc')
0 files changed, 0 insertions, 0 deletions