From: Lennart Poettering Date: Fri, 5 Nov 2021 15:36:32 +0000 (+0100) Subject: user-record: fix display of access mode X-Git-Tag: v250-rc1~349 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7cdd5c0d4c2213b791d8d22e7dd466a39e9c5db0;p=thirdparty%2Fsystemd.git user-record: fix display of access mode --- diff --git a/src/shared/user-record-show.c b/src/shared/user-record-show.c index 92e1d78e862..0873336f589 100644 --- a/src/shared/user-record-show.c +++ b/src/shared/user-record-show.c @@ -269,7 +269,7 @@ void user_record_show(UserRecord *hr, bool show_full_group_info) { printf(" IO Weight: %" PRIu64 "\n", hr->io_weight); if (hr->access_mode != MODE_INVALID) - printf(" Access Mode: 0%03oo\n", user_record_access_mode(hr)); + printf(" Access Mode: 0%03o\n", user_record_access_mode(hr)); if (storage == USER_LUKS) { printf("LUKS Discard: online=%s offline=%s\n", yes_no(user_record_luks_discard(hr)), yes_no(user_record_luks_offline_discard(hr)));