diff options
author | niry <niry@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-06 08:56:45 +0000 |
---|---|---|
committer | niry <niry@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-06 08:56:45 +0000 |
commit | 2374b9734b6780b61133ed4a1ec9cec44cf7a4b5 (patch) | |
tree | d2b4bd60b90c9cd56fa945093914439f97fa521c /MdeModulePkg | |
parent | d5469f43e3076dacb73957fa84eebd28ee138c12 (diff) | |
download | edk2-2374b9734b6780b61133ed4a1ec9cec44cf7a4b5.tar.gz edk2-2374b9734b6780b61133ed4a1ec9cec44cf7a4b5.tar.bz2 edk2-2374b9734b6780b61133ed4a1ec9cec44cf7a4b5.zip |
fix the operator priority bug.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7470 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c index cb56f66078..4f77bdd414 100644 --- a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c +++ b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c @@ -214,7 +214,7 @@ FindVariable ( while ((Variable[Index] != NULL) && (Variable[Index] <= GetEndPointer (VariableStoreHeader[Index]))) {
if (Variable[Index]->StartId == VARIABLE_DATA && Variable[Index]->State == VAR_ADDED) {
- if (!(EfiAtRuntime () && (Variable[Index]->Attributes & EFI_VARIABLE_RUNTIME_ACCESS == 0))) {
+ if (!(EfiAtRuntime () && ((Variable[Index]->Attributes & EFI_VARIABLE_RUNTIME_ACCESS) == 0))) {
if (VariableName[0] == 0) {
PtrTrack->CurrPtr = Variable[Index];
PtrTrack->Volatile = (BOOLEAN) Index;
|