summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg
diff options
context:
space:
mode:
authorniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2011-11-08 03:10:36 +0000
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2011-11-08 03:10:36 +0000
commit59b9d73e5ff2331330805756aa4a32039670d097 (patch)
tree49ffeb059411d87f7a09a4fd19e62b67ffbc8e55 /IntelFrameworkModulePkg
parent8cb3ed513e49f566d5c48e857de674bd39d8b96a (diff)
downloadedk2-platforms-59b9d73e5ff2331330805756aa4a32039670d097.tar.xz
Check the return status of booting against EFI_SUCCESS instead of using EFI_ERROR() macro to catch the warning status.
Signed-off-by: niruiyu Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12668 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r--IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c
index 1cc383e3e5..774049c8c1 100644
--- a/IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c
+++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c
@@ -5,7 +5,7 @@
After DxeCore finish DXE phase, gEfiBdsArchProtocolGuid->BdsEntry will be invoked
to enter BDS phase.
-Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -219,7 +219,7 @@ BdsBootDeviceSelect (
// now boot will be performed.
//
Status = BdsLibBootViaBootOption (BootOption, BootOption->DevicePath, &ExitDataSize, &ExitData);
- if (EFI_ERROR (Status)) {
+ if (Status != EFI_SUCCESS) {
//
// Call platform action to indicate the boot fail
//