diff options
author | rsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-03 06:47:39 +0000 |
---|---|---|
committer | rsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-03 06:47:39 +0000 |
commit | ff6bf04b8b28bcdd42ef2a4545bb2150192b027d (patch) | |
tree | 19af5a9b0373a7a2cca6f02bc2bc319d1dd273bd /MdeModulePkg/Library | |
parent | f053287da2f00286c85e7b6affd38ef5ee52814b (diff) | |
download | edk2-platforms-ff6bf04b8b28bcdd42ef2a4545bb2150192b027d.tar.xz |
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
Diffstat (limited to 'MdeModulePkg/Library')
-rw-r--r-- | MdeModulePkg/Library/GenericBdsLib/BdsMisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Library/GenericBdsLib/BdsMisc.c b/MdeModulePkg/Library/GenericBdsLib/BdsMisc.c index 6b3fa618e1..8b3dcd783b 100644 --- a/MdeModulePkg/Library/GenericBdsLib/BdsMisc.c +++ b/MdeModulePkg/Library/GenericBdsLib/BdsMisc.c @@ -760,7 +760,7 @@ BdsLibMatchDevicePaths ( EFI_DEVICE_PATH_PROTOCOL *DevicePathInst;
UINTN Size;
- if (Multi != NULL || Single != NULL) {
+ if (Multi == NULL || Single == NULL) {
return FALSE;
}
|