summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_rng.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2022-01-16 14:15:31 +0100
committerHeinrich Schuchardt <[email protected]>2022-01-19 16:16:33 +0100
commitce00a7401aef52b6a67f496fc569c960e53c059e (patch)
tree7c57f9e334115e36475245377f784f6542a419af /lib/efi_loader/efi_rng.c
parent3adae64220be502cd6d522c96a3af7dd420a1a67 (diff)
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 <[email protected]>
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 0e065468562..bb11d8d0e0c 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;