]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/GenSec/GenSec.c
BaseTools: Fix wrong type of arguments to formatting functions
[mirror_edk2.git] / BaseTools / Source / C / GenSec / GenSec.c
index a4c2d19aa6f46fa44b917b1d7590871e3d8d6e1e..cf24d821aa966ac1612b9a16619fca68ec7f239f 100644 (file)
@@ -908,7 +908,7 @@ Returns:
     if (FileBuffer != NULL) {\r
       free (FileBuffer);\r
     }\r
-    Error (NULL, 0, 2000, "Invalid parameter", "the size of input file %s can't be zero", InputFileName);\r
+    Error (NULL, 0, 2000, "Invalid parameter", "the size of input file %s can't be zero", *InputFileName);\r
     return EFI_NOT_FOUND;\r
   }\r
 \r
@@ -1095,7 +1095,7 @@ Returns:
     if (FileBuffer != NULL) {\r
       free (FileBuffer);\r
     }\r
-    Error (NULL, 0, 2000, "Invalid parameter", "the size of input file %s can't be zero", InputFileName);\r
+    Error (NULL, 0, 2000, "Invalid parameter", "the size of input file %s can't be zero", *InputFileName);\r
     return EFI_NOT_FOUND;\r
   }\r
 \r