summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2004-03-01 01:14:28 +0000
committerscottl <scottl@FreeBSD.org>2004-03-01 01:14:28 +0000
commit48b0575f79be0f9bea11b5a257e46f50c47bc095 (patch)
treecd5cbd6b46eef5e5ce536c6a2f91514c15edcf37
parent48517ca7da7dcb3e5782eed3d7a0b79794e44774 (diff)
downloadFreeBSD-src-48b0575f79be0f9bea11b5a257e46f50c47bc095.zip
FreeBSD-src-48b0575f79be0f9bea11b5a257e46f50c47bc095.tar.gz
Convert the other use of flags to mflags in soalloc().
-rw-r--r--sys/kern/uipc_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
index d0bd8af..70ef43a 100644
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -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;
OpenPOWER on IntegriCloud