removing max(1, ..)
This commit is contained in:
+1
-1
@@ -1389,7 +1389,7 @@ FIO_compressFilename_internal(FIO_prefs_t* const prefs,
|
|||||||
DISPLAYLEVEL(2, "\r%79s\r", "");
|
DISPLAYLEVEL(2, "\r%79s\r", "");
|
||||||
DISPLAYLEVEL(2,"%-20s :%6.2f%% (%6llu => %6llu bytes, %s) \n",
|
DISPLAYLEVEL(2,"%-20s :%6.2f%% (%6llu => %6llu bytes, %s) \n",
|
||||||
srcFileName,
|
srcFileName,
|
||||||
(double)compressedfilesize / (readsize+(!readsize)/*avoid div by zero*/) * 100,
|
(double)compressedfilesize / readsize * 100,
|
||||||
(unsigned long long)readsize, (unsigned long long) compressedfilesize,
|
(unsigned long long)readsize, (unsigned long long) compressedfilesize,
|
||||||
dstFileName);
|
dstFileName);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user