summaryrefslogtreecommitdiffstats
path: root/usr.bin/mt
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>1999-03-10 18:42:20 +0000
committermjacob <mjacob@FreeBSD.org>1999-03-10 18:42:20 +0000
commit8a1ee1642e6988b6a8fcf3e0acafd986d9f3707c (patch)
tree0174c03a29a070cf76abb10e374fc6191d9a31f9 /usr.bin/mt
parent7ecfe45d803490121e2289f3167d8b419ea15710 (diff)
downloadFreeBSD-src-8a1ee1642e6988b6a8fcf3e0acafd986d9f3707c.zip
FreeBSD-src-8a1ee1642e6988b6a8fcf3e0acafd986d9f3707c.tar.gz
Fixes alignment of blocksize field to be prettier if
longest density code && density name is used. Obtained from: Ken Merry
Diffstat (limited to 'usr.bin/mt')
-rw-r--r--usr.bin/mt/mt.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/mt/mt.c b/usr.bin/mt/mt.c
index 0335934..9c87191 100644
--- a/usr.bin/mt/mt.c
+++ b/usr.bin/mt/mt.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)mt.c 8.2 (Berkeley) 5/4/95";
#endif
static const char rcsid[] =
- "$Id: mt.c,v 1.22 1999/03/02 06:27:59 mjacob Exp $";
+ "$Id: mt.c,v 1.23 1999/03/10 00:48:03 mjacob Exp $";
#endif /* not lint */
/*
@@ -611,14 +611,14 @@ stringtocomp(const char *s)
void
st_status(struct mtget *bp)
{
- printf("Mode Density Blocksize bpi "
+ printf("Mode Density Blocksize bpi "
"Compression\n"
- "Current: %-12s %-12s %-7d %s\n"
+ "Current: %-17s %-12s %-7d %s\n"
"---------available modes---------\n"
- "0: %-12s %-12s %-7d %s\n"
- "1: %-12s %-12s %-7d %s\n"
- "2: %-12s %-12s %-7d %s\n"
- "3: %-12s %-12s %-7d %s\n",
+ "0: %-17s %-12s %-7d %s\n"
+ "1: %-17s %-12s %-7d %s\n"
+ "2: %-17s %-12s %-7d %s\n"
+ "3: %-17s %-12s %-7d %s\n",
denstostring(bp->mt_density), getblksiz(bp->mt_blksiz),
denstobp(bp->mt_density, TRUE), comptostring(bp->mt_comp),
denstostring(bp->mt_density0), getblksiz(bp->mt_blksiz0),
OpenPOWER on IntegriCloud