summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1998-04-19 17:28:14 +0000
committerphk <phk@FreeBSD.org>1998-04-19 17:28:14 +0000
commit100f9b99a08f89c8c12aea2b07546fb6326175fb (patch)
treeccaeed83df7a07e4bcfd238e810e7ceacf7e22d4 /usr.bin
parent0f961b2277a016486da4e8a38c3c8e2e4630944d (diff)
downloadFreeBSD-src-100f9b99a08f89c8c12aea2b07546fb6326175fb.zip
FreeBSD-src-100f9b99a08f89c8c12aea2b07546fb6326175fb.tar.gz
mt should report the compression status.
PR: 5276 Reviewed by: phk Submitted by: Matt Dillon <dillon@best.net>
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mt/mt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mt/mt.c b/usr.bin/mt/mt.c
index 8976dc6..78d6a9b 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.12 1997/07/29 06:49:16 charnier Exp $";
+ "$Id: mt.c,v 1.13 1997/08/21 05:49:29 joerg Exp $";
#endif /* not lint */
/*
@@ -415,8 +415,8 @@ getblksiz(int bs)
void
st_status(struct mtget *bp)
{
- printf("Present Mode: Density = %-12s Blocksize %s\n",
- denstostring(bp->mt_density), getblksiz(bp->mt_blksiz));
+ printf("Present Mode: Density = %-12s Blocksize %s Comp %d\n",
+ denstostring(bp->mt_density), getblksiz(bp->mt_blksiz), (int)bp->mt_comp);
printf("---------available modes---------\n");
printf("Mode 0: Density = %-12s Blocksize %s\n",
denstostring(bp->mt_density0), getblksiz(bp->mt_blksiz0));
OpenPOWER on IntegriCloud