]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/VolInfo/VolInfo.c
There is a limitation on WINDOWS OS for the length of entire file path can’t be large...
[mirror_edk2.git] / BaseTools / Source / C / VolInfo / VolInfo.c
index 21d70199cba9a2a93a1aa8dd9bcdb9d06ab67cfc..537cea3cfe56d95656d4c601308f18deb243abff 100644 (file)
@@ -249,7 +249,7 @@ Returns:
   //\r
   // Open the file containing the FV\r
   //\r
-  InputFile = fopen (argv[0], "rb");\r
+  InputFile = fopen (LongFilePath (argv[0]), "rb");\r
   if (InputFile == NULL) {\r
     Error (NULL, 0, 0001, "Error opening the input file", argv[0]);\r
     return GetUtilityStatus ();\r