From arnej@mail.imf.unit.no  Thu Feb 20 12:29:42 1997
Received: from romberg.imf.unit.no (0@romberg.imf.unit.no [129.241.15.150])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA06102
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 20 Feb 1997 12:29:40 -0800 (PST)
Received: from frida.imf.unit.no (frida.imf.unit.no [129.241.15.136]) by romberg.imf.unit.no (8.8.3/8.7.3) with ESMTP id VAA21188 for <FreeBSD-gnats-submit@freebsd.org>; Thu, 20 Feb 1997 21:29:38 +0100 (MET)
Received: (from arnej@localhost)
          by frida.imf.unit.no (8.8.5/8.8.4)
	  id VAA29029; Thu, 20 Feb 1997 21:29:37 +0100 (CET)
Message-Id: <199702202029.VAA29029@frida.imf.unit.no>
Date: Thu, 20 Feb 1997 21:29:37 +0100 (CET)
From: Arne Henrik Juul <arnej@imf.unit.no>
Reply-To: arnej@imf.unit.no
To: FreeBSD-gnats-submit@freebsd.org
Subject: err man page is slightly wrong
X-Send-Pr-Version: 3.2

>Number:         2782
>Category:       bin
>Synopsis:       err man page is slightly wrong
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 20 12:30:01 PST 1997
>Closed-Date:    Wed Apr 22 13:12:26 PDT 1998
>Last-Modified:  Wed Apr 22 13:13:28 PDT 1998
>Originator:     Arne Henrik Juul
>Release:        FreeBSD 2.2-GAMMA i386
>Organization:
Norwegian University of Technology and Science
>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

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: rnordier 
State-Changed-When: Wed Apr 22 13:12:26 PDT 1998 
State-Changed-Why:  
Committed, thanks! 
>Unformatted:
