diff options
author | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-05-26 07:27:13 +0000 |
---|---|---|
committer | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-05-26 07:27:13 +0000 |
commit | 31b440cfa6115cb63c2f57d1af5c56b59d665126 (patch) | |
tree | c868ced0a5e6b880ca8aab9f1edde93174afeea0 | |
parent | 8aea08dc2030272998a73eb104e5a4f0166800b3 (diff) | |
download | edk2-platforms-31b440cfa6115cb63c2f57d1af5c56b59d665126.tar.xz |
fix a bug of incorrectly judge the end of variable arguments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8386 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c index 4c59b83243..7b16d9816c 100644 --- a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c +++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c @@ -795,7 +795,7 @@ BdsLibOutputStrings ( // If String is NULL, then it's the end of the list
//
String = VA_ARG (Args, CHAR16 *);
- if (String != NULL) {
+ if (String == NULL) {
break;
}
|