tree-wide: some O_NDELAY → O_NONBLOCK fixes

Somehow the coccinelle script misses these, hence fix them manually.
This commit is contained in:
Lennart Poettering
2018-05-31 12:04:39 +02:00
parent 642b59ff40
commit 669fc4e5c5
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1245,7 +1245,7 @@ static int write_one_file(Item *i, const char *path) {
RUN_WITH_UMASK(0000) {
mac_selinux_create_file_prepare(path, S_IFREG);
fd = open(path, flags|O_NDELAY|O_CLOEXEC|O_WRONLY|O_NOCTTY, i->mode);
fd = open(path, flags|O_NONBLOCK|O_CLOEXEC|O_WRONLY|O_NOCTTY, i->mode);
mac_selinux_create_file_clear();
}