X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshutdownd%2Fshutdownd.c;h=701882b96d58da442077c825babb3d63e1c031ad;hb=6e646d22f6f9215de5ccb5e5edf450558c59fed1;hp=6eb522bcfceed559d67f7d5da297044aaa6cf5ab;hpb=d6d810fbf8071f8510450dbacd1d083f37603656;p=elogind.git diff --git a/src/shutdownd/shutdownd.c b/src/shutdownd/shutdownd.c index 6eb522bcf..701882b96 100644 --- a/src/shutdownd/shutdownd.c +++ b/src/shutdownd/shutdownd.c @@ -20,7 +20,7 @@ ***/ #include -#include +#include #include #include #include @@ -69,7 +69,7 @@ static int read_packet(int fd, union shutdown_buffer *_b) { assert(fd >= 0); assert(_b); - n = recvmsg(fd, &msghdr, MSG_DONTWAIT|MSG_CMSG_CLOEXEC); + n = recvmsg(fd, &msghdr, MSG_DONTWAIT); if (n <= 0) { if (n == 0) { log_error("Short read");