From owner-freebsd-bugs Thu Feb 20 12:30:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA06170 for bugs-outgoing; Thu, 20 Feb 1997 12:30:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA06161; Thu, 20 Feb 1997 12:30:02 -0800 (PST) Resent-Date: Thu, 20 Feb 1997 12:30:02 -0800 (PST) Resent-Message-Id: <199702202030.MAA06161@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, arnej@imf.unit.no 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 ; 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 ; 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 Reply-To: arnej@imf.unit.no To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/2782: err man page is slightly wrong Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >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: