summaryrefslogtreecommitdiff
path: root/BaseTools/Source/C/GenFfs
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/C/GenFfs')
-rw-r--r--BaseTools/Source/C/GenFfs/GenFfs.c14
1 files changed, 3 insertions, 11 deletions
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.<BR>
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 <stdio.h>
@@ -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;