summaryrefslogtreecommitdiff
path: root/usr.sbin/iostat
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-08-11 22:32:43 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-08-11 22:32:43 +0000
commit477ae2df54c03f322be039e7b9766c6c106efa77 (patch)
tree9b2a6e521ee1ecaeac033b01762b8dc9328226e8 /usr.sbin/iostat
parent07b1fac17bb769f1f10f9a7e71375afd71b48f85 (diff)
There are disk devicenames wider than three chars
Diffstat (limited to 'usr.sbin/iostat')
-rw-r--r--usr.sbin/iostat/iostat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/iostat/iostat.c b/usr.sbin/iostat/iostat.c
index ab6026f60bf..5247387765d 100644
--- a/usr.sbin/iostat/iostat.c
+++ b/usr.sbin/iostat/iostat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iostat.c,v 1.3 1996/05/22 11:35:49 deraadt Exp $ */
+/* $OpenBSD: iostat.c,v 1.4 1996/08/11 22:32:42 niklas Exp $ */
/* $NetBSD: iostat.c,v 1.9 1996/05/10 23:20:29 thorpej Exp $ */
/*
@@ -220,12 +220,12 @@ header(signo)
if (ISSET(todo, SHOW_STATS_1))
for (i = 0; i < dk_ndrive; i++)
if (cur.dk_select[i])
- (void)printf(" %3.3s ", cur.dk_name[i]);
+ (void)printf(" %14.14s ", cur.dk_name[i]);
if (ISSET(todo, SHOW_STATS_2))
for (i = 0; i < dk_ndrive; i++)
if (cur.dk_select[i])
- (void)printf(" %3.3s ", cur.dk_name[i]);
+ (void)printf(" %13.13s ", cur.dk_name[i]);
if (ISSET(todo, SHOW_CPU))
(void)printf(" cpu");