diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-08-14 17:07:24 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-08-14 17:07:30 -0400 |
commit | 0d2b0bf1934e341ab0a62b3ff7161d8c2f011a92 (patch) | |
tree | eccda99680df0cf31c6ce147500d0d4147a57b69 | |
parent | c849702be7ec516fb28980e6c2f20d0b54f4e0dc (diff) |
fixup! vsprintf: prt_u64_minwidth(), prt_u64()
-rw-r--r-- | lib/vsprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]); |