mirror of https://git.musl-libc.org/git/musl
Browse Source
the idiom fprintf(f, "%.*s", n, "") was wrongly used in vfwprintf as a means of producing n spaces; instead it produces no output. the correct form is fprintf(f, "%*s", n, ""), using width instead of precision, since for %s the later is a maximum rather than a minimum.master
1 changed files with 4 additions and 4 deletions
Loading…
Reference in new issue