summaryrefslogtreecommitdiff
path: root/libbcachefs/sysfs.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-08-18 12:32:10 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2022-08-18 12:49:48 -0400
commitdded444b20dd3f47393937315b8217535ff3c51d (patch)
treec6f6b3973b5de757b458bb9e0f4c7d81e4fbef4d /libbcachefs/sysfs.c
parent51ffcc699369deaa0fb4333a68bbbdf523afba11 (diff)
Update bcachefs sources to dfaf9a6ee2 lib/printbuf: Clean up headers
Diffstat (limited to 'libbcachefs/sysfs.c')
-rw-r--r--libbcachefs/sysfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbcachefs/sysfs.c b/libbcachefs/sysfs.c
index 2c650055..2dfed1ff 100644
--- a/libbcachefs/sysfs.c
+++ b/libbcachefs/sysfs.c
@@ -560,7 +560,8 @@ SHOW(bch2_fs_counters)
u64 counter = 0;
u64 counter_since_mount = 0;
- out->tabstops[0] = 32;
+ printbuf_tabstop_push(out, 32);
+
#define x(t, ...) \
if (attr == &sysfs_##t) { \
counter = percpu_u64_get(&c->counters[BCH_COUNTER_##t]);\