summaryrefslogtreecommitdiff
path: root/libgo/go/net/file.go
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-06-25 16:20:03 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-06-25 16:20:03 +0000
commit4b786d35e0af0c254988199551709abef06b925e (patch)
tree5dfe28c3f573ae57b971ed4d9a1c99a76f0a70c4 /libgo/go/net/file.go
parent2e6c5d723ff7407704f2cbd343383991b498fb5b (diff)
downloadgcc-4b786d35e0af0c254988199551709abef06b925e.tar.gz
libgo: Update to Go 1.0.2 release.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188943 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/go/net/file.go')
-rw-r--r--libgo/go/net/file.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/net/file.go b/libgo/go/net/file.go
index c95d16d64e7..fc6c6fad8e1 100644
--- a/libgo/go/net/file.go
+++ b/libgo/go/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 {