]> git.proxmox.com Git - mirror_edk2.git/commitdiff
StandaloneMmPkg/StandaloneMmCoreEntryPoint: use %a modifier for ASCII strings
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 16 Jan 2019 20:22:31 +0000 (21:22 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 21 Jan 2019 13:41:33 +0000 (14:41 +0100)
PE/COFF section names are ASCII strings so use %a not %s.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
Reviewed-by: Achin Gupta <achin.gupta@arm.com>
StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermissions.c

index 60c1f66b83fa2006ea2b16288d45cae921603b44..3ca7f6660f4787b402959f48fe86bd0e1c3baab8 100644 (file)
@@ -78,7 +78,7 @@ UpdateMmFoundationPeCoffPermissions (
             "%a: Section %d of image at 0x%lx has 0x%x permissions\n",\r
             __FUNCTION__, Index, ImageContext->ImageAddress, SectionHeader.Characteristics));\r
     DEBUG ((DEBUG_INFO,\r
-            "%a: Section %d of image at 0x%lx has %s name\n",\r
+            "%a: Section %d of image at 0x%lx has %a name\n",\r
             __FUNCTION__, Index, ImageContext->ImageAddress, SectionHeader.Name));\r
     DEBUG ((DEBUG_INFO,\r
             "%a: Section %d of image at 0x%lx has 0x%x address\n",\r