mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-08 14:13:53 +00:00
bcachefs: fix security warning in pr_name_and_units
Signed-off-by: Daniel Hill <daniel@gluo.nz> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
f83009cda3
commit
55b8550d30
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user