]> git.proxmox.com Git - mirror_edk2.git/commitdiff
fix a bug of incorrectly judge the end of variable arguments.
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 26 May 2009 07:27:13 +0000 (07:27 +0000)
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 26 May 2009 07:27:13 +0000 (07:27 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8386 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c

index 4c59b832434bf3cb2e5e6c8f36d41e56c7daa1c1..7b16d9816c1d1313fe2309a28ca3cc8fa80ab919 100644 (file)
@@ -795,7 +795,7 @@ BdsLibOutputStrings (
     // If String is NULL, then it's the end of the list\r
     //\r
     String = VA_ARG (Args, CHAR16 *);\r
-    if (String != NULL) {\r
+    if (String == NULL) {\r
       break;\r
     }\r
 \r