From Ilya Dogolazky: Fix return value doc.

This commit is contained in:
christos 2008-09-17 22:08:52 +00:00
parent 5a856ae120
commit 6f1e299202
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: sysctl.3,v 1.193 2006/12/18 00:09:59 wiz Exp $
.\" $NetBSD: sysctl.3,v 1.194 2008/09/17 22:08:52 christos Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@ -29,7 +29,7 @@
.\"
.\" @(#)sysctl.3 8.4 (Berkeley) 5/9/95
.\"
.Dd December 4, 2006
.Dd September 17, 2008
.Dt SYSCTL 3
.Os
.Sh NAME
@ -621,7 +621,7 @@ by processes)
.Sh RETURN VALUES
If the call to
.Nm
is successful, the number of bytes copied out is returned.
is successful, 0 is returned.
Otherwise \-1 is returned and
.Va errno
is set appropriately.