summaryrefslogtreecommitdiffstats
path: root/sys/security/mac
diff options
context:
space:
mode:
Diffstat (limited to 'sys/security/mac')
-rw-r--r--sys/security/mac/mac_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/mac/mac_net.c b/sys/security/mac/mac_net.c
index dc83d41..308231e 100644
--- a/sys/security/mac/mac_net.c
+++ b/sys/security/mac/mac_net.c
@@ -222,7 +222,7 @@ mac_init_socket_peer_label(struct label *label, int flag)
MAC_CHECK(init_socket_peer_label, label, flag);
if (error) {
- MAC_PERFORM(destroy_socket_label, label);
+ MAC_PERFORM(destroy_socket_peer_label, label);
mac_destroy_label(label);
}
OpenPOWER on IntegriCloud