summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Zeller <mike@mikezeller.net>2022-04-19 23:00:00 -0700
committerRichard Lowe <richlowe@richlowe.net>2022-04-26 15:26:48 -0500
commit19141168d83c6b9692f40a6885b0c7258161ec6b (patch)
tree72fa81ab79f4b7aaaf82db60e1605ed4e49d318d
parentce9221f7c49d15d77c5f2958868f3319f95c7a06 (diff)
downloadillumos-joyent-19141168d83c6b9692f40a6885b0c7258161ec6b.tar.gz
14651 select.3c error return value is wrong
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Richard Lowe <richlowe@richlowe.net>
-rw-r--r--usr/src/man/man3c/select.3c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/man/man3c/select.3c b/usr/src/man/man3c/select.3c
index 976f728b9d..59fa00c48c 100644
--- a/usr/src/man/man3c/select.3c
+++ b/usr/src/man/man3c/select.3c
@@ -441,7 +441,7 @@ and
return the total
number of bits set in the bit masks.
Otherwise,
-.Sy 1
+.Sy -1
is returned and
.Dv errno
is set to indicate the error.