chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core: print warning on invalid swap pri= field
[elogind.git]
/
src
/
shared
/
selinux-util.c
diff --git
a/src/shared/selinux-util.c
b/src/shared/selinux-util.c
index 82c6924e36a85345f48a156f2b21fe3d83b12818..a8d5fc4f3e8f372c3611dbd9caed137c3663b2a8 100644
(file)
--- 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 == E
NOTSU
P)
+ if (r < 0 && errno == E
OPNOTSUP
P)
return 0;
}
}