Date: Sat, 13 Mar 1999 16:19:46 +0100 (CET) From: Christian Weisgerber <naddy@mips.rhein-neckar.de> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/10573: [PATCH] Typo in dump reporting Message-ID: <199903131519.QAA04979@bigeye.rhein-neckar.de>
index | next in thread | raw e-mail
>Number: 10573
>Category: bin
>Synopsis: [PATCH] Typo in dump reporting
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 13 09:40:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator: Christian Weisgerber
>Release: FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:
>Description:
Typo in /sbin/dump reporting: "volumes(s)" should be "volume(s)", or
better yet "volume"/"volumes" as appropriate.
>How-To-Repeat:
# dump 0a /
...
DUMP: DUMP: 16949 tape blocks on 1 volumes(s)
... ^
>Fix:
--- /usr/src/sbin/dump/main.c Wed Sep 16 22:52:12 1998
+++ main.c Sat Mar 13 16:10:08 1999
@@ -462,8 +462,9 @@
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)
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903131519.QAA04979>
