From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::543; helo=mail-ed1-x543.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B188F211AE8B7 for ; Fri, 4 Jan 2019 03:03:29 -0800 (PST) Received: by mail-ed1-x543.google.com with SMTP id y20so31422779edw.9 for ; Fri, 04 Jan 2019 03:03:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=o5PGhFykECSIPAt3paN1u4wno5pYTItFJUaaMuWTOXE=; b=NBeo4fw+N5NUc8eS1AyuePOFo1pNwKjVIipwZGaU2mxdFqJbEut9aFYa87aYtnHwyX gD/1hUAyyqUQ0jGtlvt+YiW+ltCoIIxaqb6UEm6nVHECUF2WDPFTEq37jbrlpnxzlmct 0t2Q3IkREswkLzeQUUfjlkH2q8oyHm1vrdb9s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=o5PGhFykECSIPAt3paN1u4wno5pYTItFJUaaMuWTOXE=; b=VUXmnULTQq1YJuftLd5dHwCMu2Ax3kDSU8kpFJxDrmdXqlZ1UHTdvBgd0YMcHDdsOV C9eC05mg1h2sR0//evuS0GHn/+dycwZtH+rF/ZSPX7Kt4tjp4Y9xAIIvZG4d4KF2+YCD HtQbMK8VUnh62H033+U8Wx6Un6Tz2CiY1RyNS2L8YD+VGHV++jMiONzXxbXliPg3DiXn 5iCwNqD+l5yCv/Q5s4bwCsS6lIJBe5CyTKdShdhdNJlJScLi4sXPh/eCxEgv34PwNmYA QKeqbS79TniVlZMRCv7HtZsKAhbcrPaZx8p2OP8duH8Gzry6FZDIv2j8OQaL/urOZ9YL 2QPw== X-Gm-Message-State: AA+aEWYDhD79cFH7QvM1/tI4iLTLL3a7hNPjiLhqCISWGtWHok1NNOAw BJlSrHq8cMAw05Z4ZN5VN4I6jHClAtELNQ== X-Google-Smtp-Source: AFSGD/XLNUeAvbgqeUv7n+hclq+aA8oJaDHdgdGdAG3Te7bG7FWOyYAwQ3DPDxOXvRFeQLDGtg8vvA== X-Received: by 2002:a17:906:4944:: with SMTP id f4-v6mr38627307ejt.72.1546599807924; Fri, 04 Jan 2019 03:03:27 -0800 (PST) Received: from dogfood.home ([2a01:cb1d:112:6f00:704e:c241:dc88:597d]) by smtp.gmail.com with ESMTPSA id n11sm26650578edn.14.2019.01.04.03.03.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Jan 2019 03:03:27 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: Ard Biesheuvel , Achin Gupta , Jiewen Yao , Supreeth Venkatesh , Leif Lindholm , Jagadeesh Ujja , Thomas Panakamattam Abraham , Sami Mujawar Date: Fri, 4 Jan 2019 12:03:10 +0100 Message-Id: <20190104110315.18339-4-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190104110315.18339-1-ard.biesheuvel@linaro.org> References: <20190104110315.18339-1-ard.biesheuvel@linaro.org> Subject: [PATCH 3/8] StandaloneMmPkg/StandaloneMmCoreEntryPoint: use %a modifier for ASCII strings X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 11:03:30 -0000 PE/COFF section names are ASCII strings so use %a not %s. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermissions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermissions.c b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermissions.c index 60c1f66b83fa..3ca7f6660f47 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", -- 2.17.1