summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-11-05 18:04:53 +0100
committerLennart Poettering <lennart@poettering.net>2021-11-05 21:37:20 +0100
commit30df35869ca7e26b61c02a332521645c768cdaab (patch)
tree61d555dff8485af153ec3f46597842992e83d815 /src
parentd874a13efc51fe49c8870542fa1c9a64ca7e5e93 (diff)
downloadsystemd-30df35869ca7e26b61c02a332521645c768cdaab.tar.gz
user-record: show fs/luks/gpt UUIDs as proper UUIDs
These are not defined by us, but are defined as proper UUIDs by their respective specs, hence show them as such.
Diffstat (limited to 'src')
-rw-r--r--src/shared/user-record-show.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/user-record-show.c b/src/shared/user-record-show.c
index dee6c4e5ee..92e1d78e86 100644
--- a/src/shared/user-record-show.c
+++ b/src/shared/user-record-show.c
@@ -275,11 +275,11 @@ void user_record_show(UserRecord *hr, bool show_full_group_info) {
printf("LUKS Discard: online=%s offline=%s\n", yes_no(user_record_luks_discard(hr)), yes_no(user_record_luks_offline_discard(hr)));
if (!sd_id128_is_null(hr->luks_uuid))
- printf(" LUKS UUID: " SD_ID128_FORMAT_STR "\n", SD_ID128_FORMAT_VAL(hr->luks_uuid));
+ printf(" LUKS UUID: " SD_ID128_UUID_FORMAT_STR "\n", SD_ID128_FORMAT_VAL(hr->luks_uuid));
if (!sd_id128_is_null(hr->partition_uuid))
- printf(" Part UUID: " SD_ID128_FORMAT_STR "\n", SD_ID128_FORMAT_VAL(hr->partition_uuid));
+ printf(" Part UUID: " SD_ID128_UUID_FORMAT_STR "\n", SD_ID128_FORMAT_VAL(hr->partition_uuid));
if (!sd_id128_is_null(hr->file_system_uuid))
- printf(" FS UUID: " SD_ID128_FORMAT_STR "\n", SD_ID128_FORMAT_VAL(hr->file_system_uuid));
+ printf(" FS UUID: " SD_ID128_UUID_FORMAT_STR "\n", SD_ID128_FORMAT_VAL(hr->file_system_uuid));
if (hr->file_system_type)
printf(" File System: %s\n", user_record_file_system_type(hr));