summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg
diff options
context:
space:
mode:
authorli-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524>2011-11-15 01:14:44 +0000
committerli-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524>2011-11-15 01:14:44 +0000
commit801401877ea209d07c6b10cc04bc8731383e4645 (patch)
tree57b99298e1e13816171d79581e1e91773a9f8dc8 /IntelFrameworkModulePkg
parent37d5c6ee2f6283612fb2b12e52bd3fa47e7f4c39 (diff)
downloadedk2-platforms-801401877ea209d07c6b10cc04bc8731383e4645.tar.xz
Fix incorrect pointer check.
Signed-off-by: li-elvin Reviewed-by: ydong10 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12694 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r--IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c b/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c
index 125ba63ea0..ef16cf1359 100644
--- a/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c
+++ b/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c
@@ -990,7 +990,7 @@ ChangeModeForSetup (
SimpleTextOut = NULL;
}
- if ((GraphicsOutput == NULL) && (SimpleTextOut == NULL)) {
+ if ((GraphicsOutput == NULL) || (SimpleTextOut == NULL)) {
return EFI_UNSUPPORTED;
}