diff options
author | joshua stein <jcs@cvs.openbsd.org> | 2011-04-04 15:22:32 +0000 |
---|---|---|
committer | joshua stein <jcs@cvs.openbsd.org> | 2011-04-04 15:22:32 +0000 |
commit | 60250e40ea425e42fc81b4899f94475fd2882a31 (patch) | |
tree | b48353cac39b7b6bcf6c8aab6f35b43669ce9d3f /sbin/bioctl/bioctl.c | |
parent | aeeaa61135c66cbb4bffae0ad317b3d6bdcef03e (diff) |
give more space when printing volumes to allow softraid0 to fit
ok marco@
Diffstat (limited to 'sbin/bioctl/bioctl.c')
-rw-r--r-- | sbin/bioctl/bioctl.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/bioctl/bioctl.c b/sbin/bioctl/bioctl.c index 78a41b98fe4..ee1fd477d2e 100644 --- a/sbin/bioctl/bioctl.c +++ b/sbin/bioctl/bioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bioctl.c,v 1.98 2010/12/01 19:40:18 ckuethe Exp $ */ +/* $OpenBSD: bioctl.c,v 1.99 2011/04/04 15:22:31 jcs Exp $ */ /* * Copyright (c) 2004, 2005 Marco Peereboom @@ -336,7 +336,7 @@ bio_inq(char *name) if (!volheader) { volheader = 1; - printf("%-7s %-10s %14s %-8s\n", + printf("%-11s %-10s %14s %-8s\n", "Volume", "Status", "Size", "Device"); } @@ -389,12 +389,12 @@ bio_inq(char *name) bv.bv_size); switch (bv.bv_level) { case 'C': - printf("%7s %-10s %14s %-7s CRYPTO%s%s\n", + printf("%11s %-10s %14s %-7s CRYPTO%s%s\n", volname, status, size, bv.bv_dev, percent, seconds); break; default: - printf("%7s %-10s %14s %-7s RAID%u%s%s\n", + printf("%11s %-10s %14s %-7s RAID%u%s%s\n", volname, status, size, bv.bv_dev, bv.bv_level, percent, seconds); break; @@ -464,7 +464,7 @@ bio_inq(char *name) else strlcpy(serial, "unknown serial", sizeof serial); - printf("%7s %-10s %14s %-7s %-6s <%s>\n", + printf("%11s %-10s %14s %-7s %-6s <%s>\n", volname, status, size, scsiname, encname, bd.bd_vendor); if (verbose) |