Subject: lib/3242: err man page is slightly wrong
To: None <gnats-bugs@gnats.netbsd.org>
From: None <arnej@pvv.ntnu.no>
List: netbsd-bugs
Date: 02/20/1997 21:16:15
>Number:         3242
>Category:       lib
>Synopsis:       err man page is slightly wrong
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 20 15:05:07 1997
>Last-Modified:
>Originator:     Arne Henrik Juul
>Organization:
	Norwegian University of Technology and Science
>Release:        NetBSD-current as of Feb 16, 1997.
>Environment:

System: NetBSD natteravn.runit.sintef.no 1.2C NetBSD 1.2C (NATTERAVN) #11: Mon Feb 10 20:43:29 MET 1997 jarle@natteravn.runit.sintef.no:/usr/src/sys/arch/i386/compile/NATTERAVN i386

>Description:
	the err/errx man page implies that errx produces output
	with program name, colon, space, optional message, colon, space,
	newline.  My first try at correct description was wrong the
	other way, but adding a little English seems to have solved
	the problem.
>How-To-Repeat:
	man err
>Fix:
	Apply this patch:
diff -ru orig/src/lib/libc/gen/err.3 src/lib/libc/gen/err.3
--- orig/src/lib/libc/gen/err.3	Sat Oct 14 01:46:55 1995
+++ src/lib/libc/gen/err.3	Thu Feb 20 21:11:14 1997
@@ -75,18 +75,19 @@
 and a space are output.
 If the
 .Va fmt
-argument is not NULL, the formatted error message, a colon character,
-and a space are output.
+argument is not NULL, the formatted error message is output.
 In the case of the
 .Fn err ,
 .Fn verr ,
 .Fn warn ,
 and
 .Fn vwarn
-functions, the error message string affiliated with the current value of
+functions,
+the error message string affiliated with the current value of
 the global variable
 .Va errno 
-is output.
+is also output, 
+preceded by another colon and space if necessary.
 In all cases, the output is followed by a newline character.
 .Pp
 The
>Audit-Trail:
>Unformatted: