summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-26 07:27:13 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-26 07:27:13 +0000
commit31b440cfa6115cb63c2f57d1af5c56b59d665126 (patch)
treec868ced0a5e6b880ca8aab9f1edde93174afeea0
parent8aea08dc2030272998a73eb104e5a4f0166800b3 (diff)
downloadedk2-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.c2
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;
}