diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2022-08-17 18:50:32 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2022-08-17 18:50:32 +0000 |
| commit | e7d02be19d40063783d6b8f1ff2bc4c7170fd434 (patch) | |
| tree | d3ed52ad147947c340a2a5ed090e61e10d7d8eef /sys/security | |
| parent | d9f6ac882a9597a660f83bac088a485b42fbba2c (diff) | |
Diffstat (limited to 'sys/security')
| -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); } |
