diff options
Diffstat (limited to 'libgo/go/net/file_unix.go')
-rw-r--r-- | libgo/go/net/file_unix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/net/file_unix.go b/libgo/go/net/file_unix.go index 46ea8e2..25caafb 100644 --- a/libgo/go/net/file_unix.go +++ b/libgo/go/net/file_unix.go @@ -93,7 +93,7 @@ func fileListener(f *os.File) (Listener, error) { } switch laddr := fd.laddr.(type) { case *TCPAddr: - return &TCPListener{fd}, nil + return &TCPListener{fd: fd}, nil case *UnixAddr: return &UnixListener{fd: fd, path: laddr.Name, unlink: false}, nil } |