diff options
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); } |