From 97fa0ee9b1cffbb4b97ee35365afa7afcf50e174 Mon Sep 17 00:00:00 2001 From: Yingke Liu Date: Thu, 28 Aug 2014 13:53:34 +0000 Subject: License header updated to match correct format. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yingke Liu Reviewed-by: Liming Gao git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15971 6f19259b-4bc3-4df7-8a09-765794883524 --- BaseTools/Source/C/GenFfs/GenFfs.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'BaseTools/Source/C/GenFfs/GenFfs.c') 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; -- cgit v1.2.3