summaryrefslogtreecommitdiff
path: root/fs/bcachefs/util.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-04-02 16:30:37 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2022-04-17 15:44:29 -0400
commita39d7ea7beaa98be2d5c86ec6cbf0ca5ebded6d1 (patch)
treede80e93a5056a9c8c5daf20496288e6978a5ca03 /fs/bcachefs/util.h
parentb8af6eb02a5a264c7cdf24223185c7ceaf16a7e6 (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/util.h b/fs/bcachefs/util.h
index 888693703c75..086d941f23e5 100644
--- a/fs/bcachefs/util.h
+++ b/fs/bcachefs/util.h
@@ -386,7 +386,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 *);