diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-01 03:32:48 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-01 03:32:48 +0000 |
commit | 762f2fe0446d5ed3e4a535920f569febcbfe3a60 (patch) | |
tree | 9870b920acace560e50e0685e5449aa14190716e /usr.sbin/iostat | |
parent | 8dfe0de6dded7f932b06d8091e190e80ed1b5176 (diff) |
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); } } |