svn commit: r211250 - user/des/phybs
Dag-Erling Smorgrav
des at FreeBSD.org
Thu Aug 12 23:36:36 UTC 2010
Author: des
Date: Thu Aug 12 23:36:36 2010
New Revision: 211250
URL: http://svn.freebsd.org/changeset/base/211250
Log:
A previous commit changed a <= to a < in the wrong place.
Modified:
user/des/phybs/phybs.c
Modified: user/des/phybs/phybs.c
==============================================================================
--- user/des/phybs/phybs.c Thu Aug 12 22:46:31 2010 (r211249)
+++ user/des/phybs/phybs.c Thu Aug 12 23:36:36 2010 (r211250)
@@ -164,10 +164,10 @@ main(int argc, char *argv[])
printf("%8s%8s%8s%8s%12s%8s%8s\n",
"count", "size", "offset", "step",
"msec", "tps", "kBps");
- for (size_t size = minsize; size < maxsize; size *= 2) {
+ for (size_t size = minsize; size <= maxsize; size *= 2) {
printf("\n");
scan(fd, size, 0, STEP, total / size);
- for (off_t offset = BSIZE; offset <= (off_t)size; offset *= 2)
+ for (off_t offset = BSIZE; offset < (off_t)size; offset *= 2)
scan(fd, size, offset, STEP, total / size);
}
close(fd);
More information about the svn-src-user
mailing list