From 30df35869ca7e26b61c02a332521645c768cdaab Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 5 Nov 2021 18:04:53 +0100 Subject: [PATCH] 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. --- src/shared/user-record-show.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/shared/user-record-show.c b/src/shared/user-record-show.c index dee6c4e5ee3..92e1d78e862 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)); -- 2.47.3