summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authornik <nik@FreeBSD.org>1999-07-20 20:48:40 +0000
committernik <nik@FreeBSD.org>1999-07-20 20:48:40 +0000
commitf7a1a90e21d9afd966344011ff47dbe2cac61dde (patch)
tree044a42e853033290f74e1795f363022f0b38e627 /lib
parent99627d6d692b8807449841da8a3348e5a8e271ec (diff)
downloadFreeBSD-src-f7a1a90e21d9afd966344011ff47dbe2cac61dde.zip
FreeBSD-src-f7a1a90e21d9afd966344011ff47dbe2cac61dde.tar.gz
Correct the information about the return value when no device matches
(or no information is available). PR: docs/12707 Submitted by: Chris Costello <chris@calldei.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/devname.310
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/libc/gen/devname.3 b/lib/libc/gen/devname.3
index c3d2982..078cf34 100644
--- a/lib/libc/gen/devname.3
+++ b/lib/libc/gen/devname.3
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)devname.3 8.2 (Berkeley) 4/29/95
-.\" $Id$
+.\" $Id: devname.3,v 1.4 1999/07/12 20:46:25 nik Exp $
.\"
.Dd April 29, 1995
.Dt DEVNAME 3
@@ -54,11 +54,9 @@ and a file type matching the one encoded in
.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
OpenPOWER on IntegriCloud