aboutsummaryrefslogtreecommitdiff
path: root/sys/security/mac_partition
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2018-12-11 19:32:16 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2018-12-11 19:32:16 +0000
commitcc426dd31990b8b50b210efc450e404596548ca1 (patch)
tree4c797c5d8886d8d05bb5346b747005b539105825 /sys/security/mac_partition
parent959530cc41aea5f878c2c2cea5b545d295108bab (diff)
Notes
Diffstat (limited to 'sys/security/mac_partition')
-rw-r--r--sys/security/mac_partition/mac_partition.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/mac_partition/mac_partition.c b/sys/security/mac_partition/mac_partition.c
index 729413e205c4..8f02263023f2 100644
--- a/sys/security/mac_partition/mac_partition.c
+++ b/sys/security/mac_partition/mac_partition.c
@@ -128,7 +128,7 @@ partition_cred_check_relabel(struct ucred *cred, struct label *newlabel)
* partition in the first place, but this didn't interact
* well with sendmail.
*/
- error = priv_check_cred(cred, PRIV_MAC_PARTITION, 0);
+ error = priv_check_cred(cred, PRIV_MAC_PARTITION);
}
return (error);