X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Fselinux-util.c;h=a8d5fc4f3e8f372c3611dbd9caed137c3663b2a8;hp=82c6924e36a85345f48a156f2b21fe3d83b12818;hb=15411c0cb1192799b37ec8f25d6f30e8d7292fc6;hpb=2eec67acbb00593e414549a7e5b35eb7dd776b1b diff --git a/src/shared/selinux-util.c b/src/shared/selinux-util.c index 82c6924e3..a8d5fc4f3 100644 --- a/src/shared/selinux-util.c +++ b/src/shared/selinux-util.c @@ -145,7 +145,7 @@ int mac_selinux_fix(const char *path, bool ignore_enoent, bool ignore_erofs) { r = lsetfilecon(path, fcon); /* If the FS doesn't support labels, then exit without warning */ - if (r < 0 && errno == ENOTSUP) + if (r < 0 && errno == EOPNOTSUPP) return 0; } }