Date: Mon, 19 Jul 1999 08:46:28 -0500 (CDT) From: chris@calldei.com To: FreeBSD-gnats-submit@freebsd.org Subject: docs/12707: [Patch] src/lib/libc/gen/devname.3 out-of-sync with devname.c Message-ID: <199907191346.IAA15783@holly.dyndns.org>
index | next in thread | raw e-mail
>Number: 12707
>Category: docs
>Synopsis: [Patch] src/lib/libc/gen/devname.3 out-of-sync with devname.c
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 19 06:50:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator: Chris Costello
>Release: FreeBSD 4.0-CURRENT i386
>Organization:
none
>Environment:
devname.3:
$Id: devname.3,v 1.4 1999/07/12 20:46:25 nik Exp $
>Description:
devname.c now returns the string "??" when no device is found.
>How-To-Repeat:
Use devname(3) and pass it data that will obviously cause it to not find
anything
Compare the results with the information in 'man 3 devname'
>Fix:
Index: devname.3
===================================================================
RCS file: /home/ncvs/src/lib/libc/gen/devname.3,v
retrieving revision 1.4
diff -u -r1.4 devname.3
--- devname.3 1999/07/12 20:46:25 1.4
+++ devname.3 1999/07/19 13:40:20
@@ -54,11 +54,9 @@
.Fa type
which must be one of S_IFBLK or S_IFCHR.
If no device matches the specified values, or no information is
-available, NULL is returned.
-.Pp
-The traditional display for applications when no device is
-found is the string
-.Dq ?? .
+available, the string
+.Dq ??
+is returned.
.Sh SEE ALSO
.Xr stat 2 ,
.Xr dev_mkdb 8
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907191346.IAA15783>
