summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-20 10:53:28 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-20 10:53:28 +0000
commitb430a02621f28162b5c32659630e48131c163acc (patch)
tree80d3c7b6e39cab20f6e3726a13f75deaf65dad51
parent8bb03145e9bdc06c77c1d1da24ff28f9f29f59fc (diff)
fix docs on return value; netbsd pr#1999; kml@nas.nasa.gov
-rw-r--r--lib/libc/gen/sysctl.35
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index cf60a3b1c7f..6866801618a 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.3,v 1.3 1996/08/19 08:26:26 tholo Exp $
+.\" $OpenBSD: sysctl.3,v 1.4 1996/09/20 10:53:27 deraadt Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -595,8 +595,7 @@ The returned data consists of a
.Sh RETURN VALUES
If the call to
.Nm sysctl
-is successful, 0 is returned.
-Otherwise \-1 is returned and
+is unsuccessful \-1 is returned and
.Va errno
is set appropriately.
.Sh ERRORS