mirror of https://github.com/acidanthera/audk.git
ShellPkg: Fix concatenation on full device paths.
submitted-by: jcarsey reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12357 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
b6b22b132a
commit
f9125972ae
|
@ -588,7 +588,7 @@ EfiShellGetDevicePathFromFilePath(
|
|||
if (*(Path+StrLen(MapName)+1) == CHAR_NULL) {
|
||||
DevicePathForReturn = FileDevicePath(Handle, L"\\");
|
||||
} else {
|
||||
DevicePathForReturn = FileDevicePath(Handle, Path+StrLen(MapName)+1);
|
||||
DevicePathForReturn = FileDevicePath(Handle, Path+StrLen(MapName));
|
||||
}
|
||||
|
||||
FreePool(MapName);
|
||||
|
|
Loading…
Reference in New Issue