From: Ard Biesheuvel Date: Wed, 16 Jan 2019 20:22:31 +0000 (+0100) Subject: StandaloneMmPkg/StandaloneMmCoreEntryPoint: use %a modifier for ASCII strings X-Git-Tag: edk2-stable201903~304 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=41915a19a7724a7eb8c4d35deb51261ea9ad0416 StandaloneMmPkg/StandaloneMmCoreEntryPoint: use %a modifier for ASCII strings PE/COFF section names are ASCII strings so use %a not %s. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Reviewed-by: Supreeth Venkatesh Reviewed-by: Achin Gupta --- diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermissions.c b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermissions.c index 60c1f66b83..3ca7f6660f 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermissions.c +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermissions.c @@ -78,7 +78,7 @@ UpdateMmFoundationPeCoffPermissions ( "%a: Section %d of image at 0x%lx has 0x%x permissions\n", __FUNCTION__, Index, ImageContext->ImageAddress, SectionHeader.Characteristics)); DEBUG ((DEBUG_INFO, - "%a: Section %d of image at 0x%lx has %s name\n", + "%a: Section %d of image at 0x%lx has %a name\n", __FUNCTION__, Index, ImageContext->ImageAddress, SectionHeader.Name)); DEBUG ((DEBUG_INFO, "%a: Section %d of image at 0x%lx has 0x%x address\n",