mirror of
https://github.com/0intro/wmii
synced 2024-11-22 13:52:17 +03:00
s/F_SETFL/F_SETFD/. Fix old instances of wmiir hanging around.
This commit is contained in:
parent
4181367d68
commit
6563332c9f
@ -214,7 +214,8 @@ cleanup_handler(int signal) {
|
||||
|
||||
static void
|
||||
closeexec(int fd) {
|
||||
fcntl(fd, F_SETFL, FD_CLOEXEC);
|
||||
if(fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)
|
||||
fatal("can't set %d close on exec: %r", fd);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user