Fix a bug that file name should be printed
authorqhuang8 <qhuang8@c2973edb-eda0-4c78-bc6a-9341b269661f>
Thu, 4 Feb 2010 09:44:40 +0000 (09:44 +0000)
committerqhuang8 <qhuang8@c2973edb-eda0-4c78-bc6a-9341b269661f>
Thu, 4 Feb 2010 09:44:40 +0000 (09:44 +0000)
git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1840 c2973edb-eda0-4c78-bc6a-9341b269661f

Source/C/GenFv/GenFvInternalLib.c

index 0295165..d95bd04 100644 (file)
@@ -2237,7 +2237,7 @@ Returns:
   //\r
   FvReportFile = fopen(FvReportName, "w");\r
   if (FvReportFile == NULL) {\r
-    Error (NULL, 0, 0001, "Error opening file", FvReportFile);\r
+    Error (NULL, 0, 0001, "Error opening file", FvReportName);\r
     return EFI_ABORTED;\r
   }\r
   //\r