diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-06-09 01:13:46 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-06-09 15:07:25 -0400 |
commit | 6ac37db8415c636607d878c16af8346df55668f4 (patch) | |
tree | 9c41e2d77899017d8deebc20d3d125541d476457 /libbcachefs/counters.c | |
parent | bec3a265658010a6cbf0cfac6dca461a7edf2c7d (diff) |
Update bcachefs sources to 24f7e08cd8 bcachefs: shrinker.to_text() methods
Diffstat (limited to 'libbcachefs/counters.c')
-rw-r--r-- | libbcachefs/counters.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libbcachefs/counters.c b/libbcachefs/counters.c index 6bf267df..745f856e 100644 --- a/libbcachefs/counters.c +++ b/libbcachefs/counters.c @@ -36,13 +36,13 @@ void bch2_sb_counters_to_text(struct printbuf *out, struct bch_sb *sb, for (i = 0; i < nr; i++) { if (i < BCH_COUNTER_NR) - pr_buf(out, "%s", bch2_counter_names[i]); + prt_printf(out, "%s", bch2_counter_names[i]); else - pr_buf(out, "(unknown)"); + prt_printf(out, "(unknown)"); - pr_tab(out); - pr_buf(out, "%llu", le64_to_cpu(ctrs->d[i])); - pr_newline(out); + prt_tab(out); + prt_printf(out, "%llu", le64_to_cpu(ctrs->d[i])); + prt_newline(out); }; }; |