Delete extra arg to swprintf() in format_bytecount()

Found by cppcheck

Signed-off-by: Selva Nair <selva.nair@gmail.com>
pull/299/head
Selva Nair 2019-03-17 13:41:03 -04:00
parent 6ad90b92a1
commit f66a052a05
1 changed files with 1 additions and 1 deletions

View File

@ -1196,7 +1196,7 @@ format_bytecount(wchar_t *buf, size_t len, unsigned long long c)
if (c <= 1024)
{
swprintf(buf, len, L"%I64u B", c, *s);
swprintf(buf, len, L"%I64u B", c);
buf[len-1] = L'\0';
return buf;
}