summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-12-13 10:59:00 +0000
committerru <ru@FreeBSD.org>2001-12-13 10:59:00 +0000
commit8ed2558536b0d1e3b53d1adfe463eabc15e43123 (patch)
tree4e8612ba67610c7c0d67513d1f67a0ca5b3574dc /lib/libc
parent66ac46bd154cfa3d8ca207bfc01035f794a2cad0 (diff)
downloadFreeBSD-src-8ed2558536b0d1e3b53d1adfe463eabc15e43123.zip
FreeBSD-src-8ed2558536b0d1e3b53d1adfe463eabc15e43123.tar.gz
If the OID is missing, sysctl(3) returns ENOENT, not EOPNOTSUPP.
PR: docs/32793 Submitted by: Hartmut Brandt <brandt@fokus.gmd.de>
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/sysctl.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index 8e0373b..53a6f37 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -449,7 +449,7 @@ Return profiling information about the kernel.
If the kernel is not compiled for profiling,
attempts to retrieve any of the KERN_PROF values will
fail with
-.Er EOPNOTSUPP .
+.Er ENOENT .
The third level names for the string and integer profiling information
is detailed below.
The changeable column shows whether a process with appropriate
@@ -787,7 +787,7 @@ array specifies an intermediate rather than terminal name.
The
.Fa name
array specifies a terminal name, but the actual name is not terminal.
-.It Bq Er EOPNOTSUPP
+.It Bq Er ENOENT
The
.Fa name
array specifies a value that is unknown.
OpenPOWER on IntegriCloud