1
0
mirror of https://github.com/golang/go synced 2024-11-22 03:14:41 -07:00

net: silence another epoll print

R=golang-dev, nigeltao
CC=golang-dev
https://golang.org/cl/5752048
This commit is contained in:
Russ Cox 2012-03-05 22:07:22 -05:00
parent f200b72a7c
commit 0a6fdcf63b

View File

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