Author: glebius
Date: Sun Oct 23 10:05:25 2011
New Revision: 226655
URL: http://svn.freebsd.org/changeset/base/226655

Log:
  Correct flag for uma_zalloc() is M_WAITOK. M_WAIT is an old and
  deprecated flag from historical mbuf(9) allocator.
  
  This is style only change.

Modified:
  head/sys/contrib/pf/net/pfvar.h

Modified: head/sys/contrib/pf/net/pfvar.h
==============================================================================
--- head/sys/contrib/pf/net/pfvar.h     Sun Oct 23 09:08:42 2011        
(r226654)
+++ head/sys/contrib/pf/net/pfvar.h     Sun Oct 23 10:05:25 2011        
(r226655)
@@ -222,7 +222,7 @@ struct pfi_dynaddr {
 #define        PF_NAME         "pf"
 
 #define        PR_NOWAIT       M_NOWAIT
-#define        PR_WAITOK       M_WAIT
+#define        PR_WAITOK       M_WAITOK
 #define        PR_ZERO         M_ZERO
 #define        pool_get(p, f)  uma_zalloc(*(p), (f))
 #define        pool_put(p, o)  uma_zfree(*(p), (o))
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to