]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/VolInfo/VolInfo.c
License header updated to match correct format.
[mirror_edk2.git] / BaseTools / Source / C / VolInfo / VolInfo.c
index 21d70199cba9a2a93a1aa8dd9bcdb9d06ab67cfc..7e79d753676bc918869709b5ab7405358f299337 100644 (file)
@@ -1,4 +1,5 @@
 /** @file\r
+The tool dumps the contents of a firmware volume\r
 \r
 Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
@@ -9,14 +10,6 @@ http://opensource.org/licenses/bsd-license.php
 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
-Module Name:\r
-\r
-  VolInfo.c\r
-\r
-Abstract:\r
-\r
-  The tool dumps the contents of a firmware volume\r
-\r
 **/\r
 \r
 #include <stdio.h>\r
@@ -51,7 +44,7 @@ Abstract:
 EFI_GUID  gEfiCrc32GuidedSectionExtractionProtocolGuid = EFI_CRC32_GUIDED_SECTION_EXTRACTION_PROTOCOL_GUID;\r
 \r
 #define UTILITY_MAJOR_VERSION      0\r
-#define UTILITY_MINOR_VERSION      82\r
+#define UTILITY_MINOR_VERSION      83\r
 \r
 #define UTILITY_NAME         "VolInfo"\r
 \r
@@ -172,7 +165,7 @@ Returns:
   //\r
   // Print utility header\r
   //\r
-  printf ("%s Tiano Firmware Volume FFS image info.  Version %d.%d %s, %s\n",\r
+  printf ("%s Version %d.%d %s, %s\n",\r
     UTILITY_NAME,\r
     UTILITY_MAJOR_VERSION,\r
     UTILITY_MINOR_VERSION,\r
@@ -249,7 +242,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
@@ -1716,7 +1709,7 @@ Returns:
   CHAR8             Line[MAX_LINE_LEN];\r
   GUID_TO_BASENAME  *GPtr;\r
 \r
-  if ((Fptr = fopen (FileName, "r")) == NULL) {\r
+  if ((Fptr = fopen (LongFilePath (FileName), "r")) == NULL) {\r
     printf ("ERROR: Failed to open input cross-reference file '%s'\n", FileName);\r
     return EFI_DEVICE_ERROR;\r
   }\r
@@ -1839,6 +1832,7 @@ Returns:
   // Copyright declaration\r
   // \r
   fprintf (stdout, "Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.\n\n");\r
+  fprintf (stdout, "  Display Tiano Firmware Volume FFS image information\n\n");\r
 \r
   //\r
   // Details Option\r