X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Flabel.c;h=2c887a0fe52194ac3775966d3af6840d67a1f85d;hp=d9d195b50fa0fbd29a8dfd9d7b252c58490310b6;hb=81c3f1f6aba52ac5e95241b51083b61c7401be44;hpb=0b1f4ae63548c627decd80e3e2fd030c2d4f3af6 diff --git a/src/label.c b/src/label.c index d9d195b50..2c887a0fe 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 */