Fix integer overflow in SLOG test.

MFC after:	1 week
This commit is contained in:
Alexander Motin 2017-11-27 20:01:43 +00:00
parent f4d8e4954d
commit 31c6d7311e

View File

@ -398,7 +398,7 @@ TS(u_int size, int count)
dt = delta_t(); dt = delta_t();
printf("%8.1f usec/IO = %8.1f Mbytes/s\n", printf("%8.1f usec/IO = %8.1f Mbytes/s\n",
dt * 1000000.0 / count, size * count / dt / (1024 * 1024)); dt * 1000000.0 / count, (double)size * count / dt / (1024 * 1024));
} }
static void static void