summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/man/2/thread3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/man/2/thread b/sys/man/2/thread
index e52289fc6..510e0bfa8 100644
--- a/sys/man/2/thread
+++ b/sys/man/2/thread
@@ -332,7 +332,8 @@ and
on success,
they replace the calling thread (which must be the only thread in its proc)
and invoke the external program, never returning.
-On error, they return \-1.
+On error, they return and set
+.IR errstr .
If
.I cpid
is not null, the pid of the invoked program