diff options
author | rsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-12-15 08:50:58 +0000 |
---|---|---|
committer | rsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-12-15 08:50:58 +0000 |
commit | 5d36285da84ee042d8cfff2ae397b83ff95bfc14 (patch) | |
tree | e6ae47e6a042fb999005cb048b7b2e6825a1ce92 /EdkCompatibilityPkg/Foundation | |
parent | 768e2a903b5edd380f04df141af621db92bd32a1 (diff) | |
download | edk2-platforms-5d36285da84ee042d8cfff2ae397b83ff95bfc14.tar.xz |
Fix a PeiServices pointer checking error bug in EfiCommonLib in ECP.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9564 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg/Foundation')
-rw-r--r-- | EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Misc.c b/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Misc.c index b64ccaee73..13d5457d39 100644 --- a/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Misc.c +++ b/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Misc.c @@ -1,6 +1,6 @@ /*++
-Copyright (c) 2004, Intel Corporation
+Copyright (c) 2004 - 2009, Intel Corporation
All rights reserved. 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
@@ -337,7 +337,7 @@ Returns: UINT8 *Buffer8;
EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *RootBridgeIo;
- if (mPeiServices == NULL) {
+ if (mPeiServices != NULL) {
//
// The function is called in PEI phase, use PEI interfaces
//
|