diff options
author | jji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-13 01:47:14 +0000 |
---|---|---|
committer | jji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-13 01:47:14 +0000 |
commit | dfc005c30fc2efded3215dd3341b8c1ad5f8a1ad (patch) | |
tree | 5cddf9bc383f82ef7fa26a231aa85be071501fd5 /MdeModulePkg/Universal/Variable/Pei | |
parent | 33479ddfd726db4ddb10f23c2182ff2f2d2c906d (diff) | |
download | edk2-platforms-dfc005c30fc2efded3215dd3341b8c1ad5f8a1ad.tar.xz |
Code Scrub:
/MdeModulePkg/Universal/Variable/Pei/Variable.c re-scrubbed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6477 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Variable/Pei')
-rw-r--r-- | MdeModulePkg/Universal/Variable/Pei/Variable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/Variable/Pei/Variable.c b/MdeModulePkg/Universal/Variable/Pei/Variable.c index 597ec9cdee..3a1ae41928 100644 --- a/MdeModulePkg/Universal/Variable/Pei/Variable.c +++ b/MdeModulePkg/Universal/Variable/Pei/Variable.c @@ -315,7 +315,7 @@ CompareWithValidVariable ( ) {
ASSERT (NameSizeOfVariable (Variable) != 0);
Point = (VOID *) GetVariableNamePtr (Variable);
- if (!CompareMem (VariableName, Point, NameSizeOfVariable (Variable))) {
+ if (CompareMem (VariableName, Point, NameSizeOfVariable (Variable)) == 0) {
PtrTrack->CurrPtr = Variable;
return EFI_SUCCESS;
}
|