summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_rng.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-01-16 14:15:31 +0100
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-01-19 16:16:33 +0100
commitce00a7401aef52b6a67f496fc569c960e53c059e (patch)
tree7c57f9e334115e36475245377f784f6542a419af /lib/efi_loader/efi_rng.c
parent3adae64220be502cd6d522c96a3af7dd420a1a67 (diff)
downloadu-boot-ce00a7401aef52b6a67f496fc569c960e53c059e.tar.gz
u-boot-ce00a7401aef52b6a67f496fc569c960e53c059e.tar.bz2
u-boot-ce00a7401aef52b6a67f496fc569c960e53c059e.zip
efi_loader: use %pUs for printing GUIDs
For printing GUIDs with macro EFI_ENTRY use %pUs instead of %pUl to provide readable debug output. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib/efi_loader/efi_rng.c')
-rw-r--r--lib/efi_loader/efi_rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_rng.c b/lib/efi_loader/efi_rng.c
index 0e06546856..bb11d8d0e0 100644
--- a/lib/efi_loader/efi_rng.c
+++ b/lib/efi_loader/efi_rng.c
@@ -122,7 +122,7 @@ static efi_status_t EFIAPI getrng(struct efi_rng_protocol *this,
}
if (rng_algorithm) {
- EFI_PRINT("RNG algorithm %pUl\n", rng_algorithm);
+ EFI_PRINT("RNG algorithm %pUs\n", rng_algorithm);
if (guidcmp(rng_algorithm, &rng_raw_guid)) {
status = EFI_UNSUPPORTED;
goto back;