Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=533
Cc: Liming Gao <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <[email protected]>
---
 BaseTools/Source/C/EfiLdrImage/EfiLdrImage.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/BaseTools/Source/C/EfiLdrImage/EfiLdrImage.c 
b/BaseTools/Source/C/EfiLdrImage/EfiLdrImage.c
index a46ecf8..5368d22 100644
--- a/BaseTools/Source/C/EfiLdrImage/EfiLdrImage.c
+++ b/BaseTools/Source/C/EfiLdrImage/EfiLdrImage.c
@@ -4,11 +4,11 @@ This tool combines several PE Image files together using 
following format denote
 FILE := EFILDR_HEADER
         EFILDR_IMAGE +
         <PeImageFileContent> +
 The order of EFILDR_IMAGE is same as the order of placing PeImageFileContent.
   
-Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2017, 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        
 http://opensource.org/licenses/bsd-license.php                                 
           
 
@@ -82,11 +82,11 @@ Usage (
   VOID
   )
 {
   printf ("Usage: EfiLdrImage -o OutImage LoaderImage PeImage1 PeImage2 ... 
PeImageN\n");
   printf ("%s Version %d.%d Build %s\n", UTILITY_NAME, UTILITY_MAJOR_VERSION, 
UTILITY_MINOR_VERSION, __BUILD_VERSION);
-  printf ("Copyright (c) 1999-2016 Intel Corporation. All rights reserved.\n");
+  printf ("Copyright (c) 1999-2017 Intel Corporation. All rights reserved.\n");
   printf ("\n  The EfiLdrImage tool is used to combine PE files into EFILDR 
image with Efi loader header.\n");
 }
 
 EFI_STATUS
 CountVerboseLevel (
@@ -219,11 +219,11 @@ Returns:
     if ((strlen(argv[0]) >= 2 && argv[0][0] == '-' && (argv[0][1] == 'v' || 
argv[0][1] == 'V')) || (stricmp (argv[0], "--verbose") == 0)) {
       VerboseLevel = 1;
       if (strlen(argv[0]) > 2) {
         Status = CountVerboseLevel (&argv[0][2], strlen(argv[0]) - 2, 
&VerboseLevel);
         if (EFI_ERROR (Status)) {
-          Error (NULL, 0, 1003, "Invalid option value", argv[0]);
+          Error (NULL, 0, 1003, "Invalid option value", "%s", argv[0]);
           return STATUS_ERROR;        
         }
       }
       
       argc --;
-- 
2.6.1.windows.1

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to