X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FC%2FGenFfs%2FGenFfs.c;h=52092e36e74e36520a7cb792388798159a6d3712;hp=765c0b27da73606908a9d50e8438a659cdb37ed2;hb=97fa0ee9b1cffbb4b97ee35365afa7afcf50e174;hpb=1be2ed90a20618d71ddf34b8a07d038da0b36854 diff --git a/BaseTools/Source/C/GenFfs/GenFfs.c b/BaseTools/Source/C/GenFfs/GenFfs.c index 765c0b27da..52092e36e7 100644 --- a/BaseTools/Source/C/GenFfs/GenFfs.c +++ b/BaseTools/Source/C/GenFfs/GenFfs.c @@ -1,4 +1,5 @@ -/** +/** @file +This file contains functions required to generate a Firmware File System file. Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.
This program and the accompanying materials @@ -9,15 +10,6 @@ http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -Module Name: - - GenFfs.c - -Abstract: - - This file contains functions required to generate a Firmware File System - file. - **/ #include @@ -899,7 +891,7 @@ Returns: // Open output file to write ffs data. // remove(OutputFileName); - FfsFile = fopen (OutputFileName, "wb"); + FfsFile = fopen (LongFilePath (OutputFileName), "wb"); if (FfsFile == NULL) { Error (NULL, 0, 0001, "Error opening file", OutputFileName); goto Finish;