From 62b04b83d2a5acbd5e53b1f63f67ddef2e1390b2 Mon Sep 17 00:00:00 2001 From: jmz Date: Mon, 24 May 1999 00:35:47 +0000 Subject: [PATCH] Fix typo in dump reporting PR: bin/10573 Submitted by: Christian Weisgerber --- sbin/dump/main.c | 7 ++++--- 1 file 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 @@ -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)