diff options
author | KATO Takenori <kato@FreeBSD.org> | 2001-03-23 08:58:36 +0000 |
---|---|---|
committer | KATO Takenori <kato@FreeBSD.org> | 2001-03-23 08:58:36 +0000 |
commit | d6cab841307ec53546363fa9780f6565e515fc13 (patch) | |
tree | 93617015ba82eafcc4d7647899025ef2e8a90ef5 /sys | |
parent | ff11a33db4460d17089883638778f6418501adc7 (diff) | |
download | src-d6cab841307ec53546363fa9780f6565e515fc13.tar.gz src-d6cab841307ec53546363fa9780f6565e515fc13.zip |
Notes
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pc98/pc98/npx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pc98/pc98/npx.c b/sys/pc98/pc98/npx.c index c8c0c735671b..c656736d7893 100644 --- a/sys/pc98/pc98/npx.c +++ b/sys/pc98/pc98/npx.c @@ -972,7 +972,7 @@ timezero(funcname, func) { void *buf; -#define BUFSIZE 1000000 +#define BUFSIZE 1048576 long usec; struct timeval finish, start; @@ -987,8 +987,8 @@ timezero(funcname, func) if (usec <= 0) usec = 1; if (bootverbose) - printf("%s bandwidth = %ld bytes/sec\n", - funcname, (long)(BUFSIZE * (int64_t)1000000 / usec)); + printf("%s bandwidth = %lu kBps\n", funcname, + (u_int32_t)(((BUFSIZE >> 10) * 1000000) / usec)); free(buf, M_TEMP); return (usec); } |