git: 9front

Download patch

ref: 8207d39a7bec8e7aaa544475d18331ba5f731712
parent: fbfccbf681fbd951c8484b9bbad8d0cccf2bf0cf
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Oct 24 13:24:59 EDT 2020

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.

--- a/sys/man/2/mp
+++ b/sys/man/2/mp
@@ -287,8 +287,8 @@
 .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
--