diff options
author | ru <ru@FreeBSD.org> | 2001-12-13 10:59:00 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-12-13 10:59:00 +0000 |
commit | 8ed2558536b0d1e3b53d1adfe463eabc15e43123 (patch) | |
tree | 4e8612ba67610c7c0d67513d1f67a0ca5b3574dc /lib/libc/gen | |
parent | 66ac46bd154cfa3d8ca207bfc01035f794a2cad0 (diff) | |
download | FreeBSD-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/gen')
-rw-r--r-- | lib/libc/gen/sysctl.3 | 4 |
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. |