diff options
Diffstat (limited to 'sys/security/mac/mac_socket.c')
-rw-r--r-- | sys/security/mac/mac_socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/mac/mac_socket.c b/sys/security/mac/mac_socket.c index d55487897522..4b3d6ccfb90c 100644 --- a/sys/security/mac/mac_socket.c +++ b/sys/security/mac/mac_socket.c @@ -516,8 +516,8 @@ mac_socket_label_set(struct ucred *cred, struct socket *so, * from the socket, notify it of the label change while holding the * socket lock. */ - if (so->so_proto->pr_usrreqs->pru_sosetlabel != NULL) - (so->so_proto->pr_usrreqs->pru_sosetlabel)(so); + if (so->so_proto->pr_sosetlabel != NULL) + so->so_proto->pr_sosetlabel(so); return (0); } |