Parameter checking in BdsLibMatchDevicePaths() is wrong. This bug was found because active console out devices are shown inactive in Setup Boot Maintenance Manager.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6814 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
rsun3 2008-12-03 06:47:39 +00:00
parent f053287da2
commit ff6bf04b8b
1 changed files with 1 additions and 1 deletions

View File

@ -760,7 +760,7 @@ BdsLibMatchDevicePaths (
EFI_DEVICE_PATH_PROTOCOL *DevicePathInst;
UINTN Size;
if (Multi != NULL || Single != NULL) {
if (Multi == NULL || Single == NULL) {
return FALSE;
}