diff options
Diffstat (limited to 'src/shared/mkdir-label.c')
-rw-r--r-- | src/shared/mkdir-label.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/mkdir-label.c b/src/shared/mkdir-label.c index 965ef7939f..b754a1ed66 100644 --- a/src/shared/mkdir-label.c +++ b/src/shared/mkdir-label.c @@ -33,13 +33,13 @@ static int label_mkdir(const char *path, mode_t mode) { int r; - if (use_selinux()) { + if (mac_selinux_use()) { r = mac_selinux_mkdir(path, mode); if (r < 0) return r; } - if (use_smack()) { + if (mac_smack_use()) { r = mkdir(path, mode); if (r < 0 && errno != EEXIST) return -errno; |