Fix typo in dump reporting
PR: bin/10573 Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
This commit is contained in:
parent
02013ff886
commit
8878be20f8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=47446
@ -42,7 +42,7 @@ static const char copyright[] =
|
|||||||
static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/1/95";
|
static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/1/95";
|
||||||
#endif
|
#endif
|
||||||
static const char rcsid[] =
|
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 */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
@ -462,8 +462,9 @@ main(argc, argv)
|
|||||||
if (pipeout)
|
if (pipeout)
|
||||||
msg("DUMP: %ld tape blocks\n", spcl.c_tapea);
|
msg("DUMP: %ld tape blocks\n", spcl.c_tapea);
|
||||||
else
|
else
|
||||||
msg("DUMP: %ld tape blocks on %d volumes(s)\n",
|
msg("DUMP: %ld tape blocks on %d volume%s\n",
|
||||||
spcl.c_tapea, spcl.c_volume);
|
spcl.c_tapea, spcl.c_volume,
|
||||||
|
(spcl.c_volume == 1) ? "" : "s");
|
||||||
|
|
||||||
/* report dump performance, avoid division through zero */
|
/* report dump performance, avoid division through zero */
|
||||||
if (tend_writing - tstart_writing == 0)
|
if (tend_writing - tstart_writing == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user