1
0
mirror of https://github.com/facebook/zstd.git synced 2026-01-06 11:21:19 +03:00

removing max(1, ..)

This commit is contained in:
Bimba Shrestha
2020-04-03 12:07:17 -07:00
parent 7202184ee0
commit bf1856c26f

View File

@@ -1389,7 +1389,7 @@ FIO_compressFilename_internal(FIO_prefs_t* const prefs,
DISPLAYLEVEL(2, "\r%79s\r", "");
DISPLAYLEVEL(2,"%-20s :%6.2f%% (%6llu => %6llu bytes, %s) \n",
srcFileName,
(double)compressedfilesize / (readsize+(!readsize)/*avoid div by zero*/) * 100,
(double)compressedfilesize / readsize * 100,
(unsigned long long)readsize, (unsigned long long) compressedfilesize,
dstFileName);