summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/popen.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/popen.3')
-rw-r--r--lib/libc/gen/popen.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/popen.3 b/lib/libc/gen/popen.3
index 4793db4..50132a2 100644
--- a/lib/libc/gen/popen.3
+++ b/lib/libc/gen/popen.3
@@ -122,7 +122,7 @@ The
function waits for the associated process to terminate
and returns the exit status of the command
as returned by
-.Fn wait4 .
+.Xr wait4 2 .
.Sh RETURN VALUES
The
.Fn popen
@@ -147,7 +147,7 @@ command, if
already
.Dq pclosed ,
or if
-.Xr wait4
+.Xr wait4 2
returns an error.
.Sh ERRORS
The
OpenPOWER on IntegriCloud