From: Thomas Cort Date: Tue, 2 Apr 2013 02:06:54 +0000 (+0000) Subject: inet: silence message about exceptions X-Git-Tag: v3.3.0~1054 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=f05ad905a8187faef1af0c8c4da25054ad1c10f9;p=minix.git inet: silence message about exceptions . inet: silence message about exceptions not being implemented for select(UDP) This message generates a lot of noise with openntpd. Hide it unless DEBUG is turned on. Change-Id: I1527a9ca2583601d6087456062b4f675c80dd711 --- diff --git a/servers/inet/generic/udp.c b/servers/inet/generic/udp.c index 9a4021845..da12ff645 100644 --- a/servers/inet/generic/udp.c +++ b/servers/inet/generic/udp.c @@ -316,10 +316,12 @@ unsigned operations; /* Should handle special case when the interface is down */ resops |= SR_SELECT_WRITE; } +#if DEBUG == 1 if (operations & SR_SELECT_EXCEPTION) { printf("udp_select: not implemented for exceptions\n"); } +#endif return resops; }