]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/GenFfs/GenFfs.c
License header updated to match correct format.
[mirror_edk2.git] / BaseTools / Source / C / GenFfs / GenFfs.c
index 765c0b27da73606908a9d50e8438a659cdb37ed2..52092e36e74e36520a7cb792388798159a6d3712 100644 (file)
@@ -1,4 +1,5 @@
-/**\r
+/** @file\r
+This file contains functions required to generate a Firmware File System file.\r
 \r
 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials                          \r
@@ -9,15 +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
-  GenFfs.c\r
-\r
-Abstract:\r
-\r
-  This file contains functions required to generate a Firmware File System\r
-  file.\r
-\r
 **/\r
 \r
 #include <stdio.h>\r
@@ -899,7 +891,7 @@ Returns:
   // Open output file to write ffs data.\r
   //\r
   remove(OutputFileName);\r
-  FfsFile = fopen (OutputFileName, "wb");\r
+  FfsFile = fopen (LongFilePath (OutputFileName), "wb");\r
   if (FfsFile == NULL) {\r
     Error (NULL, 0, 0001, "Error opening file", OutputFileName);\r
     goto Finish;\r