X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flabel.c;h=2c887a0fe52194ac3775966d3af6840d67a1f85d;hb=4f3656e1cec7fe3d7d3537e23a406cb88d734502;hp=d9d195b50fa0fbd29a8dfd9d7b252c58490310b6;hpb=cfc27668b0fec2c56db0fb118804ede773bef876;p=elogind.git 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 */