Fix integer overflow in SLOG test.
MFC after: 1 week
This commit is contained in:
parent
f4d8e4954d
commit
31c6d7311e
@ -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