diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-04-02 16:36:29 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-04-02 16:36:29 -0400 |
commit | 32aabbc4e547592f957de7d4b093986e55981085 (patch) | |
tree | a587cf13dd8e1ed9cf3e9f46898a5b3e3228296c /libbcachefs/opts.c | |
parent | 70f2681838973f20a918b518f82d382b3556963d (diff) |
Update bcachefs sources to ab3b6e7dd6 bcachefs: Fix pr_buf() calls
Diffstat (limited to 'libbcachefs/opts.c')
-rw-r--r-- | libbcachefs/opts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/opts.c b/libbcachefs/opts.c index 77fbb7d2..385451ef 100644 --- a/libbcachefs/opts.c +++ b/libbcachefs/opts.c @@ -324,7 +324,7 @@ void bch2_opt_to_text(struct printbuf *out, if (flags & OPT_SHOW_FULL_LIST) bch2_string_opt_to_text(out, opt->choices, v); else - pr_buf(out, opt->choices[v]); + pr_buf(out, "%s", opt->choices[v]); break; case BCH_OPT_FN: opt->to_text(out, c, sb, v); |