aboutsummaryrefslogtreecommitdiff
path: root/sbin/dump
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1999-05-24 00:35:47 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1999-05-24 00:35:47 +0000
commit8878be20f8f6ad811d79971208683d8d82a326a2 (patch)
tree396841254c6edd0b3311712a831ae54d05aecfd0 /sbin/dump
parent02013ff886f211bf7f0a34c734b69ef70aaebacf (diff)
downloadsrc-8878be20f8f6ad811d79971208683d8d82a326a2.tar.gz
src-8878be20f8f6ad811d79971208683d8d82a326a2.zip
Fix typo in dump reporting
PR: bin/10573 Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
Notes
Notes: svn path=/head/; revision=47446
Diffstat (limited to 'sbin/dump')
-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 5cbefc165a69..d7308afb68e9 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)