From: Mikio Hara Date: Tue, 29 May 2012 16:52:50 +0000 (+0900) Subject: net: fix comment on FileListener X-Git-Tag: go1.1rc2~3087 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8c8ab0552c2f211cee79d6df89e38ff59cdc1649;p=gostls13.git net: fix comment on FileListener R=rsc CC=golang-dev https://golang.org/cl/6242067 --- diff --git a/src/pkg/net/file.go b/src/pkg/net/file.go index c95d16d64e..fc6c6fad8e 100644 --- a/src/pkg/net/file.go +++ b/src/pkg/net/file.go @@ -89,8 +89,8 @@ func FileConn(f *os.File) (c Conn, err error) { // FileListener returns a copy of the network listener corresponding // to the open file f. It is the caller's responsibility to close l -// when finished. Closing c does not affect l, and closing l does not -// affect c. +// when finished. Closing l does not affect f, and closing f does not +// affect l. func FileListener(f *os.File) (l Listener, err error) { fd, err := newFileFD(f) if err != nil {