From: Harlan Stenn Date: Thu, 12 Jun 2003 06:43:58 +0000 (-0400) Subject: [Bug 110] Don't log EINTR return from select() X-Git-Tag: NTP_4_1_80_RC1~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=727b7f2d69c3a169c12ca99e6b2cc0cd24a520a3;p=thirdparty%2Fntp.git [Bug 110] Don't log EINTR return from select() bk: 3ee8212eAhxMZqNX1nSzjpmnNPO7dQ --- diff --git a/ntpd/ntp_io.c b/ntpd/ntp_io.c index 3b3d0c2fb..6b303fe58 100644 --- a/ntpd/ntp_io.c +++ b/ntpd/ntp_io.c @@ -1537,8 +1537,11 @@ input_handler( /* * extended FAU debugging output */ - msyslog(LOG_ERR, "select(%d, %s, 0L, 0L, &0.000000) error: %m", - maxactivefd+1, fdbits(maxactivefd, &activefds)); + if (err != EINTR) + msyslog(LOG_ERR, + "select(%d, %s, 0L, 0L, &0.0) error: %m", + maxactivefd+1, + fdbits(maxactivefd, &activefds)); if (err == EBADF) { int j, b;