Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 1997 21:29:37 +0100 (CET)
From:      Arne Henrik Juul <arnej@imf.unit.no>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/2782: err man page is slightly wrong
Message-ID:  <199702202029.VAA29029@frida.imf.unit.no>
Resent-Message-ID: <199702202030.MAA06161@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         2782
>Category:       bin
>Synopsis:       err man page is slightly wrong
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 20 12:30:01 PST 1997
>Last-Modified:
>Originator:     Arne Henrik Juul
>Organization:
Norwegian University of Technology and Science
>Release:        FreeBSD 2.2-GAMMA i386
>Environment:
	Probably almost any FreeBSD variant.
>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.
	PS: shouldn't there be a "lib" category?
>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702202029.VAA29029>