diff options
Diffstat (limited to 'src/shared/label.c')
-rw-r--r-- | src/shared/label.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/label.c b/src/shared/label.c index bee9635731..fe7fd8381e 100644 --- a/src/shared/label.c +++ b/src/shared/label.c @@ -25,13 +25,13 @@ int label_fix(const char *path, bool ignore_enoent, bool ignore_erofs) { int r = 0; - if (use_selinux()) { + if (mac_selinux_use()) { r = mac_selinux_fix(path, ignore_enoent, ignore_erofs); if (r < 0) return r; } - if (use_smack()) { + if (mac_smack_use()) { r = mac_smack_relabel_in_dev(path); if (r < 0) return r; |