]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UnixPkg/Library/PeiUnixPeCoffExtraActionLib/PeiUnixPeCoffExtraActionLib.c
changed %s to %a to print correct ascii string.
[mirror_edk2.git] / UnixPkg / Library / PeiUnixPeCoffExtraActionLib / PeiUnixPeCoffExtraActionLib.c
index e20b16a814ba2e6b506c27fa58a7e17f832fb285..579553c4e3ead4a6efd49f4b34258d44c87c7ce7 100644 (file)
@@ -1,6 +1,6 @@
 /**@file
 
-Copyright (c) 2006, Intel Corporation
+Copyright (c) 2006 - 2009, Intel Corporation
 All rights reserved. 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
@@ -95,7 +95,7 @@ PeCoffLoaderRelocateImageExtraAction (
   if (mUnix == NULL) {
     UnixPeCoffGetUnixThunkStucture ();
   }
-  DEBUG ((EFI_D_ERROR, "Loading %s 0x%08lx - entry point 0x%08lx\n",\r
+  DEBUG ((EFI_D_ERROR, "Loading %a 0x%08lx - entry point 0x%08lx\n",\r
           ImageContext->PdbPointer,\r
           (UINTN)ImageContext->ImageAddress,\r
           (UINTN)ImageContext->EntryPoint));\r
@@ -105,12 +105,12 @@ PeCoffLoaderRelocateImageExtraAction (
   if (Handle) {\r
     Entry = mUnix->Dlsym(Handle, "_ModuleEntryPoint");\r
   } else {
-       DEBUG ((EFI_D_ERROR, "%s\n", mUnix->Dlerror()));\r
+       DEBUG ((EFI_D_ERROR, "%a\n", mUnix->Dlerror()));\r
   }\r
   \r
   if (Entry != NULL) {\r
     ImageContext->EntryPoint = Entry;
-    DEBUG ((EFI_D_ERROR, "Change %s Entrypoint to :0x%08lx\n", ImageContext->PdbPointer, Entry));\r
+    DEBUG ((EFI_D_ERROR, "Change %a Entrypoint to :0x%08lx\n", ImageContext->PdbPointer, Entry));\r
   }\r
 \r
 \r