projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f83009c
)
bcachefs: fix security warning in pr_name_and_units
author
Daniel B. Hill
<daniel@gluo.nz>
Mon, 17 Oct 2022 20:54:32 +0000
(09:54 +1300)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:44 +0000
(17:09 -0400)
Signed-off-by: Daniel Hill <daniel@gluo.nz>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/util.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/util.c
b/fs/bcachefs/util.c
index ee85bb27e231212efd9a94956c65e5b64e928f4a..a58239fb2a6d88755de6ad696bccd5f48fe81755 100644
(file)
--- a/
fs/bcachefs/util.c
+++ b/
fs/bcachefs/util.c
@@
-436,7
+436,7
@@
static void bch2_pr_time_units_aligned(struct printbuf *out, u64 ns)
static inline void pr_name_and_units(struct printbuf *out, const char *name, u64 ns)
{
- prt_
printf
(out, name);
+ prt_
str
(out, name);
prt_tab(out);
bch2_pr_time_units_aligned(out, ns);
prt_newline(out);