summaryrefslogtreecommitdiff
path: root/sys/man
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2020-10-24 17:24:59 -0700
committerOri Bernstein <ori@eigenstate.org>2020-10-24 17:24:59 -0700
commit9bb519ac5023238572e31dd69d4f6dc3f45dfa26 (patch)
tree04f572e3e8b5ac08f4ce85425686bbb94a361b64 /sys/man
parentd9f201af498e787ea0394e9cd14ce4e97c404a71 (diff)
mp(2): correct documentation of error handling (thanks LordCreepity)
The documentation for mp(2) claimed we'd return nil on error, when we actually sysfatal. This corrects the documentation to match our actual behavior.
Diffstat (limited to 'sys/man')
-rw-r--r--sys/man/2/mp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/man/2/mp b/sys/man/2/mp
index 4f5487835..d996dd95a 100644
--- a/sys/man/2/mp
+++ b/sys/man/2/mp
@@ -287,8 +287,8 @@ These functions, in addition to
.I mpnew
and
.IR mpcopy ,
-will return
-.B nil
+will call sysfatal (see
+.IR perror (2))
if the allocation fails.
.PP
Input and result parameters may point to the same