s/F_SETFL/F_SETFD/. Fix old instances of wmiir hanging around.

This commit is contained in:
Kris Maglione 2008-02-03 16:57:36 -05:00
parent 4181367d68
commit 6563332c9f

View File

@ -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