From 0d2b0bf1934e341ab0a62b3ff7161d8c2f011a92 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sun, 14 Aug 2022 17:07:24 -0400 Subject: fixup! vsprintf: prt_u64_minwidth(), prt_u64() --- lib/vsprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vsprintf.c b/lib/vsprintf.c index d92a212db2f5..5e78781bbca8 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c @@ -384,7 +384,7 @@ void prt_u64_minwidth(struct printbuf *out, u64 num, unsigned width) printbuf_make_room(out, max(len, width)); if (width > len) - __prt_chars_reserved(out, '0', width - len); + __prt_chars_reserved(out, ' ', width - len); while (len) __prt_char_reserved(out, tmp[--len]); -- cgit v1.2.3