summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-01 16:43:28 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-01 16:43:28 +0000
commited9016f1ebe086095be8004780196d995d8f0798 (patch)
tree37d8dd24c76b2669a649812a4f9c1f8dff62302b /lib/libc
parent320d77b0c42265bcc7db34705c4bad38575b7148 (diff)
error in system(3) man page from John Kohl
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/system.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/system.3 b/lib/libc/stdlib/system.3
index 6aeeaf79d03..d77a082545a 100644
--- a/lib/libc/stdlib/system.3
+++ b/lib/libc/stdlib/system.3
@@ -34,7 +34,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)system.3 6.5 (Berkeley) 6/29/91
-.\" $Id: system.3,v 1.1 1995/10/18 08:42:20 deraadt Exp $
+.\" $Id: system.3,v 1.2 1995/11/01 16:43:27 deraadt Exp $
.\"
.Dd June 29, 1991
.Dt SYSTEM 3
@@ -72,7 +72,7 @@ will return non-zero.
Otherwise,
.Fn system
returns the termination status of the shell in the format specified by
-.Xr waitpid 3 .
+.Xr waitpid 2 .
.Sh RETURN VALUES
If a child process cannot be created, or the termination status of
the shell cannot be obtained,