diff options
author | Ori Bernstein <ori@eigenstate.org> | 2020-10-24 17:24:59 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2020-10-24 17:24:59 -0700 |
commit | 9bb519ac5023238572e31dd69d4f6dc3f45dfa26 (patch) | |
tree | 04f572e3e8b5ac08f4ce85425686bbb94a361b64 | |
parent | d9f201af498e787ea0394e9cd14ce4e97c404a71 (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.
-rw-r--r-- | sys/man/2/mp | 4 |
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 |