summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/counters.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-09-16 18:39:01 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:40 -0400
commit5a82c7c7d1925f6f060a427f38ea17b53c6945f1 (patch)
tree8e5086a7d49f15e9715c527adda290cde493dd86 /fs/bcachefs/counters.c
parent5877d8876afe1c5843731244f39d1739eba2665f (diff)
downloadlinux-stable-5a82c7c7d1925f6f060a427f38ea17b53c6945f1.tar.gz
linux-stable-5a82c7c7d1925f6f060a427f38ea17b53c6945f1.tar.bz2
linux-stable-5a82c7c7d1925f6f060a427f38ea17b53c6945f1.zip
bcachefs: Fix sb_field_counters formatting
We have counters with longer names now, so adjust the tabstop - also, make sure there's always a space printed between the name and the number. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/counters.c')
-rw-r--r--fs/bcachefs/counters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/counters.c b/fs/bcachefs/counters.c
index 745f856e6d3e..edd1b2537f48 100644
--- a/fs/bcachefs/counters.c
+++ b/fs/bcachefs/counters.c
@@ -36,7 +36,7 @@ void bch2_sb_counters_to_text(struct printbuf *out, struct bch_sb *sb,
for (i = 0; i < nr; i++) {
if (i < BCH_COUNTER_NR)
- prt_printf(out, "%s", bch2_counter_names[i]);
+ prt_printf(out, "%s ", bch2_counter_names[i]);
else
prt_printf(out, "(unknown)");