Subject: lib/4006: typo in fcntl.2 man page
To: None <gnats-bugs@gnats.netbsd.org>
From: maximum entropy <entropy@tardis.bernstein.com>
List: netbsd-bugs
Date: 08/18/1997 11:26:07
>Number: 4006
>Category: lib
>Synopsis: typo in fcntl.2 man page
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people (Library Bug People)
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 18 08:35:00 1997
>Last-Modified:
>Originator: maximum entropy
>Organization:
>Release: <NetBSD-current source date> 970811
>Environment:
System: NetBSD tardis.bernstein.com 1.2G NetBSD 1.2G (C466DE) #0: Mon Aug 11 13:29:35 EDT 1997 entropy@tardis.bernstein.com:/usr/src/sys/arch/i386/compile/C466DE i386
>Description:
There is a typo in the errors section of the fcntl.2 man page.
It refers to F_DUPED which doesn't exist, when it should refer to F_DUPFD.
>How-To-Repeat:
man 2 fcntl
>Fix:
--- /usr/src/lib/libc/sys/fcntl.2.orig Tue Jul 15 07:33:16 1997
+++ /usr/src/lib/libc/sys/fcntl.2 Mon Aug 18 11:22:14 1997
@@ -447,7 +447,7 @@
The argument
.Fa cmd
is
-.Dv F_DUPED
+.Dv F_DUPFD
and the maximum number of file descriptors permitted for the
process are already in use,
or no file descriptors greater than or equal to
>Audit-Trail:
>Unformatted: