Make it clear what check implies for mallocarray.  Thanks to dlg@ for
pointing this behavior out.


Index: share/man/man9/malloc.9
===================================================================
RCS file: /cvs/src/share/man/man9/malloc.9,v
retrieving revision 1.56
diff -u -p -d -r1.56 malloc.9
--- share/man/man9/malloc.9     12 Jul 2014 18:51:10 -0000      1.56
+++ share/man/man9/malloc.9     21 Jul 2014 06:39:36 -0000
@@ -57,7 +57,9 @@ function is the same as
 .Fn malloc ,
 except it allocates space for an array of
 .Fa nmemb
-objects and checks for arithmetic overflow.
+objects and calls
+.Xr panic 9
+on arithmetic overflow.
 .Pp
 The
 .Fn free

Reply via email to