summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-11-05 16:36:32 +0100
committerLennart Poettering <lennart@poettering.net>2021-11-05 21:37:45 +0100
commit7cdd5c0d4c2213b791d8d22e7dd466a39e9c5db0 (patch)
tree6c1508fc7e1a3f8a6f02d3016a2778ead06715cc
parentuser-record: show fs/luks/gpt UUIDs as proper UUIDs (diff)
downloadsystemd-7cdd5c0d4c2213b791d8d22e7dd466a39e9c5db0.tar.xz
systemd-7cdd5c0d4c2213b791d8d22e7dd466a39e9c5db0.zip
user-record: fix display of access mode
-rw-r--r--src/shared/user-record-show.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/user-record-show.c b/src/shared/user-record-show.c
index 92e1d78e86..0873336f58 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)));