From 8ed2558536b0d1e3b53d1adfe463eabc15e43123 Mon Sep 17 00:00:00 2001 From: ru Date: Thu, 13 Dec 2001 10:59:00 +0000 Subject: If the OID is missing, sysctl(3) returns ENOENT, not EOPNOTSUPP. PR: docs/32793 Submitted by: Hartmut Brandt --- lib/libc/gen/sysctl.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc') 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. -- cgit v1.1