]> git.proxmox.com Git - mirror_edk2.git/commit
Fix two issues:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 25 Jan 2008 03:14:35 +0000 (03:14 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 25 Jan 2008 03:14:35 +0000 (03:14 +0000)
commit372285d1fc420da6c9da9f3a1856d16f37e557d4
treecf75e4314a0eb0dee87db773df69954ddc13fce2
parent0c0e0a041daab3600ed326a712437cc3a14afd33
Fix two issues:
1. The default with of hex value is 0 according to MdeLib spec. If we expect it to be 16, we need to state it in the format string explicitly.
2. For UnicodeSPrint, the output buffer size of 0 will not print anything to the buffer according to MdeLib spec. We need to specify the maximum possible buffer size.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4635 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c