Fix integer overflow in SLOG test.
MFC after: 1 week
This commit is contained in:
parent
7324847592
commit
b830be5bc2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user