From 9bb519ac5023238572e31dd69d4f6dc3f45dfa26 Mon Sep 17 00:00:00 2001 From: Ori Bernstein Date: Sat, 24 Oct 2020 17:24:59 -0700 Subject: [PATCH] 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. --- sys/man/2/mp | 4 ++-- 1 file 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