diff options
author | deraadt <deraadt@openbsd.org> | 2005-04-01 03:32:47 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2005-04-01 03:32:47 +0000 |
commit | b60889435a4aea684f6cf106045e5c058ce9bac9 (patch) | |
tree | 7d8dc4e20dc96070f69d65e71e0a6d6d8ce361d7 /usr.sbin/iostat | |
parent | at long last, disable write gathering for v3. ok like everyone (diff) | |
download | wireguard-openbsd-b60889435a4aea684f6cf106045e5c058ce9bac9.tar.xz wireguard-openbsd-b60889435a4aea684f6cf106045e5c058ce9bac9.zip |
spacing
Diffstat (limited to 'usr.sbin/iostat')
-rw-r--r-- | usr.sbin/iostat/iostat.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/iostat/iostat.c b/usr.sbin/iostat/iostat.c index 7084284ecde..4e922e8b509 100644 --- a/usr.sbin/iostat/iostat.c +++ b/usr.sbin/iostat/iostat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iostat.c,v 1.21 2004/08/08 00:19:16 pedro Exp $ */ +/* $OpenBSD: iostat.c,v 1.22 2005/04/01 03:32:47 deraadt Exp $ */ /* $NetBSD: iostat.c,v 1.10 1996/10/25 18:21:58 scottr Exp $ */ /* @@ -196,7 +196,8 @@ main(int argc, char *argv[]) break; select(0, NULL, NULL, NULL, &tv); dkreadstats(); - if (last.dk_ndrive != cur.dk_ndrive) wantheader = 1; + if (last.dk_ndrive != cur.dk_ndrive) + wantheader = 1; } exit(0); } @@ -309,7 +310,7 @@ disk_stats2(double etime) /* average time busy in disk activity. */ atime = (double)cur.dk_time[dn].tv_sec + - ((double)cur.dk_time[dn].tv_usec / (double)1000000); + ((double)cur.dk_time[dn].tv_usec / (double)1000000); (void)printf(" %4.2f ", atime / etime); } } |