]> git.proxmox.com Git - mirror_edk2.git/commit
Correct the code to use SIZE_OF_EFI_FILE_INFO instead of sizeof (EFI_FILE_INFO) to...
authorniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 17 Nov 2011 01:56:30 +0000 (01:56 +0000)
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 17 Nov 2011 01:56:30 +0000 (01:56 +0000)
commite45e09c75b11b6c118bf868f5002c00bec8af478
treed2253ae03326e94a024fdd779b5b84916cb71946
parent1aa9860e8f27a7cf5c8d36854945d9af328a0239
Correct the code to use SIZE_OF_EFI_FILE_INFO instead of sizeof (EFI_FILE_INFO) to fix a bug when creating a file/directory with single char as file name in root directory.

Signed-off-by: niruiyu
Reviewed-by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12727 6f19259b-4bc3-4df7-8a09-765794883524
UnixPkg/UnixSimpleFileSystemDxe/UnixSimpleFileSystem.c