]> Cypherpunks repositories - gostls13.git/commitdiff
Corrected a print statement from printing netfd to fd.
authorVinu Rajashekhar <vinutheraj@gmail.com>
Sat, 10 Jul 2010 21:40:48 +0000 (14:40 -0700)
committerIan Lance Taylor <iant@golang.org>
Sat, 10 Jul 2010 21:40:48 +0000 (14:40 -0700)
R=iant
CC=golang-dev
https://golang.org/cl/1805041

src/pkg/net/fd.go

index 4673a94e42370d7a8b1d0d2669374544320799e9..4100f62575542787ef51db0ed577a3239b866345 100644 (file)
@@ -230,7 +230,7 @@ func (s *pollServer) Run() {
                } else {
                        netfd := s.LookupFD(fd, mode)
                        if netfd == nil {
-                               print("pollServer: unexpected wakeup for fd=", netfd, " mode=", string(mode), "\n")
+                               print("pollServer: unexpected wakeup for fd=", fd, " mode=", string(mode), "\n")
                                continue
                        }
                        s.WakeFD(netfd, mode)