OSDN Git Service

libgo: Update to weekly.2011-12-02.
[pf3gnuchains/gcc-fork.git] / libgo / go / net / fd.go
index 70e04a2..5318c51 100644 (file)
@@ -171,7 +171,7 @@ func (s *pollServer) WakeFD(fd *netFD, mode int) {
 }
 
 func (s *pollServer) Now() int64 {
-       return time.Nanoseconds()
+       return time.Now().UnixNano()
 }
 
 func (s *pollServer) CheckDeadlines() {