NetBSD Problem Report #3242

Received: (qmail-queue invoked from smtpd); 20 Feb 1997 20:20:32 -0000
Message-Id: <199702202016.VAA04177@natteravn.runit.sintef.no>
Date: Thu, 20 Feb 1997 21:16:15 +0100 (MET)
From: arnej@pvv.ntnu.no
Reply-To: arnej@pvv.ntnu.no
To: gnats-bugs@gnats.netbsd.org
Cc: arnej@pvv.ntnu.no
Subject: err man page is slightly wrong
X-Send-Pr-Version: 3.95

>Number:         3242
>Category:       lib
>Synopsis:       err man page is slightly wrong
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 20 15:05:07 +0000 1997
>Closed-Date:    Thu Feb 20 23:45:18 +0000 1997
>Last-Modified:  Fri Feb 21 07:45:51 +0000 1997
>Originator:     Arne Henrik Juul
>Release:        NetBSD-current as of Feb 16, 1997.
>Organization:
	Norwegian University of Technology and Science
>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
>Release-Note:
>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: mikel
State-Changed-When: Thu Feb 20 23:45:18 1997
State-Changed-Why:
fixed as suggested (with some minor changes), thanks.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.