summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_mbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/subr_mbuf.c')
-rw-r--r--sys/kern/subr_mbuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_mbuf.c b/sys/kern/subr_mbuf.c
index 285d376..f5e8abf 100644
--- a/sys/kern/subr_mbuf.c
+++ b/sys/kern/subr_mbuf.c
@@ -614,7 +614,7 @@ mb_alloc(struct mb_lstmngr *mb_list, int how, short type, short persist,
struct mb_bucket *bucket;
void *m;
-/* #ifdef INVARIANTS */
+#ifdef INVARIANTS
int flags;
flags = how & (M_WAITOK | M_NOWAIT | M_DONTWAIT | M_TRYWAIT);
@@ -627,7 +627,7 @@ mb_alloc(struct mb_lstmngr *mb_list, int how, short type, short persist,
how = M_TRYWAIT;
}
}
-/* #endif */
+#endif
m = NULL;
if ((persist & MBP_PERSISTENT) != 0) {
OpenPOWER on IntegriCloud