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=9b1a953e08917030489cd9adb2a17dfd407ce14b;hpb=cfc27668b0fec2c56db0fb118804ede773bef876 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 */