diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-03-19 05:49:56 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-03-19 05:49:56 +0000 |
commit | 695f7e9856bc478054e317c8b9b1e12e6cbf0693 (patch) | |
tree | e0cd1b94a17a15a703139f5d57ec16aed4bd029d /MdeModulePkg/Universal/Console | |
parent | 8541adab27901906118876f1acd3555666677ff9 (diff) | |
download | edk2-695f7e9856bc478054e317c8b9b1e12e6cbf0693.zip edk2-695f7e9856bc478054e317c8b9b1e12e6cbf0693.tar.gz edk2-695f7e9856bc478054e317c8b9b1e12e6cbf0693.tar.bz2 |
add some error check and return.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4912 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Console')
-rw-r--r-- | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c index 48c5c1b..2cf2f3e 100644 --- a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c +++ b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c @@ -424,6 +424,9 @@ GraphicsConsoleControllerDriverStart ( goto Error;
}
}
+ } else {
+ Status = EFI_UNSUPPORTED;
+ goto Error;
}
}
|