net: fix comment on FileListener

R=rsc
CC=golang-dev
https://golang.org/cl/6242067
This commit is contained in:
Mikio Hara 2012-05-30 01:52:50 +09:00
parent 992a11b88b
commit 8c8ab0552c

View File

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