]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/CCode/Source/VfrCompile/VfrServices.cpp
Fixed EDKT419.
[mirror_edk2.git] / Tools / CCode / Source / VfrCompile / VfrServices.cpp
index 359256a358fefd941a4d4573743e6210a84abf59..d338672060992ba895539cc5f07689479d8f8e39 100644 (file)
@@ -332,8 +332,8 @@ Returns:
     //\r
     // Open the input VFR file and the output list file\r
     //\r
-    if ((InFptr = fopen (gOptions.PreprocessorOutputFileName, "r")) == NULL) {\r
-      Warning (PROGRAM_NAME, 0, 0, gOptions.PreprocessorOutputFileName, "could not open file for creating a list file");\r
+    if ((InFptr = fopen (gOptions.VfrFileName, "r")) == NULL) {\r
+      Warning (PROGRAM_NAME, 0, 0, gOptions.VfrFileName, "could not open file for creating a list file");\r
     } else {\r
       if ((OutFptr = fopen (gOptions.VfrListFileName, "w")) == NULL) {\r
         Warning (PROGRAM_NAME, 0, 0, gOptions.VfrListFileName, "could not open output list file for writing");\r