aboutsummaryrefslogtreecommitdiffstats
path: root/UefiLessonsPkg
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev22@gmail.com>2022-08-08 17:59:40 +0300
committerKonstantin Aladyshev <aladyshev22@gmail.com>2022-08-08 17:59:40 +0300
commit7ec4a23d20c61bdfabd83b1317b6525ae93f6540 (patch)
tree944ea7b5b82615414a449c37404153094b64cd13 /UefiLessonsPkg
parent0cda4601cf92ba1679ef8fbe00e3e4a77e185d2e (diff)
downloadUEFI-Lessons-7ec4a23d20c61bdfabd83b1317b6525ae93f6540.tar.gz
UEFI-Lessons-7ec4a23d20c61bdfabd83b1317b6525ae93f6540.tar.bz2
UEFI-Lessons-7ec4a23d20c61bdfabd83b1317b6525ae93f6540.zip
Correct hex formatting in L25
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Diffstat (limited to 'UefiLessonsPkg')
-rw-r--r--UefiLessonsPkg/PCDLesson/PCDLesson.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/UefiLessonsPkg/PCDLesson/PCDLesson.c b/UefiLessonsPkg/PCDLesson/PCDLesson.c
index a3ecfeb..a4bfd3f 100644
--- a/UefiLessonsPkg/PCDLesson/PCDLesson.c
+++ b/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;
}