diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-01-16 14:15:31 +0100 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-01-19 16:16:33 +0100 |
commit | ce00a7401aef52b6a67f496fc569c960e53c059e (patch) | |
tree | 7c57f9e334115e36475245377f784f6542a419af /lib/efi_loader/efi_rng.c | |
parent | 3adae64220be502cd6d522c96a3af7dd420a1a67 (diff) | |
download | u-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.c | 2 |
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; |