diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-01-16 11:59:21 +0100 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-01-19 16:16:33 +0100 |
commit | 04872381206a05d9b9d8211067e59b353d2929fb (patch) | |
tree | 820533c8ef0484cb13ca849cde13dd90e0536ccb /lib/efi_loader/efi_variable.c | |
parent | c1528f324c6068936a629233b12c66774accc359 (diff) |
lib: printf code %pUs for GUID text representation
In different places text representations are used for GUIDs, e.g.
* command efidebug
* command part list for GPT partitions
To allow reducing code duplication introduce a new printf code %pUs.
It will call uuid_guid_get_str() to get a text representation. If none is
found it will fallback to %pUl and print a hexadecimal representation.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib/efi_loader/efi_variable.c')
0 files changed, 0 insertions, 0 deletions