summaryrefslogtreecommitdiff
path: root/BaseTools/Source/C/EfiLdrImage/EfiLdrImage.c
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/C/EfiLdrImage/EfiLdrImage.c')
-rw-r--r--BaseTools/Source/C/EfiLdrImage/EfiLdrImage.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/BaseTools/Source/C/EfiLdrImage/EfiLdrImage.c b/BaseTools/Source/C/EfiLdrImage/EfiLdrImage.c
index f83c532b25..a76102cbb3 100644
--- a/BaseTools/Source/C/EfiLdrImage/EfiLdrImage.c
+++ b/BaseTools/Source/C/EfiLdrImage/EfiLdrImage.c
@@ -1,6 +1,6 @@
/** @file
-Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -84,7 +84,7 @@ Returns:
--*/
{
printf ("%s v%d.%d %s -Utility to break a file into two pieces at the request offset.\n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERSION, __BUILD_VERSION);
- printf ("Copyright (c) 1999-2010 Intel Corporation. All rights reserved.\n");
+ printf ("Copyright (c) 1999-2014 Intel Corporation. All rights reserved.\n");
}
VOID
@@ -270,7 +270,7 @@ Returns:
return STATUS_ERROR;
}
- fpOut = fopen(OutputFileName, "w+b");
+ fpOut = fopen (LongFilePath (OutputFileName), "w+b");
if (!fpOut) {
Error (NULL, 0, 0001, "Could not open output file", OutputFileName);
return STATUS_ERROR;
@@ -294,7 +294,7 @@ Returns:
//
// Copy the content of PeImage file to output file
//
- fpIn = fopen (InputFileNames[i], "rb");
+ fpIn = fopen (LongFilePath (InputFileNames[i]), "rb");
if (!fpIn) {
Error (NULL, 0, 0001, "Could not open input file", InputFileNames[i]);
fclose (fpOut);