From: Russ Cox Date: Tue, 6 Mar 2012 03:07:22 +0000 (-0500) Subject: net: silence another epoll print X-Git-Tag: weekly.2012-03-13~204 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0a6fdcf63ba9cc34d1ae33345adbfc4d5e1a4b75;p=gostls13.git net: silence another epoll print R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/5752048 --- diff --git a/src/pkg/net/fd_linux.go b/src/pkg/net/fd_linux.go index a1d62acc78..085e423072 100644 --- a/src/pkg/net/fd_linux.go +++ b/src/pkg/net/fd_linux.go @@ -84,7 +84,8 @@ func (p *pollster) StopWaiting(fd int, bits uint) { events, already := p.events[fd] if !already { - print("Epoll unexpected fd=", fd, "\n") + // The fd returned by the kernel may have been + // cancelled already; return silently. return }