aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2004-02-22 01:11:53 +0000
committerColin Percival <cperciva@FreeBSD.org>2004-02-22 01:11:53 +0000
commitb17dd2bcc02cf408a3c8b9dee1df0da90a4f5217 (patch)
tree09b1ca67ab60a33e2e506286ddd0dfbdb90b8292
parenta333b323e1dd34e7d12d335f1b12cf258a1c73c5 (diff)
Notes
-rw-r--r--sys/kern/uipc_usrreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c
index 1f9ca3d2007be..f6a5ea23e9966 100644
--- a/sys/kern/uipc_usrreq.c
+++ b/sys/kern/uipc_usrreq.c
@@ -1095,9 +1095,9 @@ unp_init(void)
{
unp_zone = uma_zcreate("unpcb", sizeof(struct unpcb), NULL, NULL,
NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_NOFREE);
- uma_zone_set_max(unp_zone, nmbclusters);
if (unp_zone == 0)
panic("unp_init");
+ uma_zone_set_max(unp_zone, nmbclusters);
LIST_INIT(&unp_dhead);
LIST_INIT(&unp_shead);
}