From 2864c799d624566de4d0af4c5ca5c79150df0e2c Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Sun, 28 Oct 2012 21:01:32 +0000 Subject: [PATCH] Make it clear that NULL can only be returned when M_NOWAIT was used. --- share/man/man9/zone.9 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/share/man/man9/zone.9 b/share/man/man9/zone.9 index a77fd5bc9d3..a3efd83a1df 100644 --- a/share/man/man9/zone.9 +++ b/share/man/man9/zone.9 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd February 25, 2012 +.Dd October 28, 2012 .Dt ZONE 9 .Os .Sh NAME @@ -145,7 +145,7 @@ or .Dv NULL in the rare case where all items in the zone are in use and the allocator is unable to grow the zone -or when +and .Dv M_NOWAIT is specified. .Pp @@ -218,8 +218,10 @@ The .Fn uma_zalloc function returns a pointer to an item, or .Dv NULL -if the zone ran out of unused items and the allocator was unable to -enlarge it. +if the zone ran out of unused items +and +.Dv M_NOWAIT +was specified. .Sh SEE ALSO .Xr malloc 9 .Sh HISTORY