From 7ec4a23d20c61bdfabd83b1317b6525ae93f6540 Mon Sep 17 00:00:00 2001 From: Konstantin Aladyshev Date: Mon, 8 Aug 2022 17:59:40 +0300 Subject: Correct hex formatting in L25 Signed-off-by: Konstantin Aladyshev --- Lessons/Lesson_25/UefiLessonsPkg/PCDLesson/PCDLesson.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Lessons/Lesson_25/UefiLessonsPkg/PCDLesson') diff --git a/Lessons/Lesson_25/UefiLessonsPkg/PCDLesson/PCDLesson.c b/Lessons/Lesson_25/UefiLessonsPkg/PCDLesson/PCDLesson.c index a3ecfeb..a4bfd3f 100644 --- a/Lessons/Lesson_25/UefiLessonsPkg/PCDLesson/PCDLesson.c +++ b/Lessons/Lesson_25/UefiLessonsPkg/PCDLesson/PCDLesson.c @@ -65,12 +65,12 @@ UefiMain ( Print(L"PcdDynamicInt32 token is unassigned\n"); } - Print(L"PcdDynamicExInt32=%x\n", PcdGetEx32(&gUefiLessonsPkgTokenSpaceGuid, PcdDynamicExInt32)); + Print(L"PcdDynamicExInt32=0x%x\n", PcdGetEx32(&gUefiLessonsPkgTokenSpaceGuid, PcdDynamicExInt32)); PcdSetEx32S(&gUefiLessonsPkgTokenSpaceGuid, PcdDynamicExInt32, 0x77777777); - Print(L"PcdDynamicExInt32=%x\n", PcdGetEx32(&gUefiLessonsPkgTokenSpaceGuid, PcdDynamicExInt32)); + Print(L"PcdDynamicExInt32=0x%x\n", PcdGetEx32(&gUefiLessonsPkgTokenSpaceGuid, PcdDynamicExInt32)); - Print(L"PcdDynamicExInt32=%x\n", PcdGet32(PcdDynamicExInt32)); + Print(L"PcdDynamicExInt32=0x%x\n", PcdGet32(PcdDynamicExInt32)); PcdSet32S(PcdDynamicExInt32, 0x88888888); - Print(L"PcdDynamicExInt32=%x\n", PcdGet32(PcdDynamicExInt32)); + Print(L"PcdDynamicExInt32=0x%x\n", PcdGet32(PcdDynamicExInt32)); return EFI_SUCCESS; } -- cgit v1.2.3-18-g5258