Fix integer overflow in SLOG test.

MFC after:	1 week
This commit is contained in:
mav 2017-11-27 20:01:43 +00:00
parent 7324847592
commit b830be5bc2

View File

@ -398,7 +398,7 @@ TS(u_int size, int count)
dt = delta_t();
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