Use the correct ASSERT form.
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 17 Dec 2007 03:43:24 +0000 (03:43 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 17 Dec 2007 03:43:24 +0000 (03:43 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4396 6f19259b-4bc3-4df7-8a09-765794883524

Nt32Pkg/Library/EdkGenericBdsLib/BdsMisc.c

index 9fa05ffd6d04afb88076da9d40e6f6d7a84c50ac..7eac6a012ee8782bf72316b9bfbbea5a999ead12 100644 (file)
@@ -1015,7 +1015,7 @@ Returns:
                       &Browser\r
                       );\r
 \r
-      ASSERT (Status != EFI_SUCCESS);\r
+      ASSERT_EFI_ERROR (Status);\r
 \r
       StringBuffer1 = AllocateZeroPool (MAX_STRING_LEN * sizeof (CHAR16));\r
       ASSERT (StringBuffer1 != NULL);\r