diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-04-02 16:30:37 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:29 -0400 |
commit | c32fc674d4ca13f3b889693a2b59365d93a77144 (patch) | |
tree | 90a0fffee0573efc6e077ce143035c9d22b724ef /fs/bcachefs/util.h | |
parent | 66d90823857ed9196ef52361518ab703e468c53b (diff) |
bcachefs: Fix pr_buf() calls
In a few places we were passing a variable to pr_buf() for the format
string - oops.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/util.h')
-rw-r--r-- | fs/bcachefs/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/util.h b/fs/bcachefs/util.h index 085f1c357383..1629d279f494 100644 --- a/fs/bcachefs/util.h +++ b/fs/bcachefs/util.h @@ -388,7 +388,7 @@ static inline void pr_uuid(struct printbuf *out, u8 *uuid) char uuid_str[40]; uuid_unparse_lower(uuid, uuid_str); - pr_buf(out, uuid_str); + pr_buf(out, "%s", uuid_str); } int bch2_strtoint_h(const char *, int *); |