summaryrefslogtreecommitdiffstats
path: root/sbin/dump/main.c
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1999-05-24 00:35:47 +0000
committerjmz <jmz@FreeBSD.org>1999-05-24 00:35:47 +0000
commit62b04b83d2a5acbd5e53b1f63f67ddef2e1390b2 (patch)
treefee48eef2d88fe46fb13abdeddc5890e1b7e4d48 /sbin/dump/main.c
parent5dc5dd6c49b548d44956b2c4f08c2dcc543cbc35 (diff)
downloadFreeBSD-src-62b04b83d2a5acbd5e53b1f63f67ddef2e1390b2.zip
FreeBSD-src-62b04b83d2a5acbd5e53b1f63f67ddef2e1390b2.tar.gz
Fix typo in dump reporting
PR: bin/10573 Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
Diffstat (limited to 'sbin/dump/main.c')
-rw-r--r--sbin/dump/main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/dump/main.c b/sbin/dump/main.c
index 5cbefc1..d7308af 100644
--- a/sbin/dump/main.c
+++ b/sbin/dump/main.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/1/95";
#endif
static const char rcsid[] =
- "$Id: main.c,v 1.17 1998/07/14 09:19:47 jkoshy Exp $";
+ "$Id: main.c,v 1.18 1998/09/16 20:52:12 andreas Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -462,8 +462,9 @@ main(argc, argv)
if (pipeout)
msg("DUMP: %ld tape blocks\n", spcl.c_tapea);
else
- msg("DUMP: %ld tape blocks on %d volumes(s)\n",
- spcl.c_tapea, spcl.c_volume);
+ msg("DUMP: %ld tape blocks on %d volume%s\n",
+ spcl.c_tapea, spcl.c_volume,
+ (spcl.c_volume == 1) ? "" : "s");
/* report dump performance, avoid division through zero */
if (tend_writing - tstart_writing == 0)
OpenPOWER on IntegriCloud