summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/label.c b/src/label.c
index d9d195b50f..2c887a0fe5 100644
--- a/src/label.c
+++ b/src/label.c
@@ -109,7 +109,7 @@ int label_fix(const char *path, bool ignore_enoent) {
return 0;
if (r == 0) {
- r = setfilecon(path, fcon);
+ r = lsetfilecon(path, fcon);
freecon(fcon);
/* If the FS doesn't support labels, then exit without warning */