Convert the other use of flags to mflags in soalloc().

This commit is contained in:
scottl 2004-03-01 01:14:28 +00:00
parent 48517ca7da
commit 48b0575f79

View File

@ -138,7 +138,7 @@ soalloc(int mflags)
so = uma_zalloc(socket_zone, mflags | M_ZERO);
if (so) {
#ifdef MAC
error = mac_init_socket(so, flag);
error = mac_init_socket(so, mflags | M_ZERO);
if (error != 0) {
uma_zfree(socket_zone, so);
so = NULL;