1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-08 01:59:17 +01:00
Files
u-boot-megous/lib/vsprintf.c
Heinrich Schuchardt 0487238120 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>
2022-01-19 16:16:33 +01:00

20 KiB