net: fix comment in sendFile

Change-Id: Iacee13150b283f9d2867a7ca98f805900f7cbe50
Reviewed-on: https://go-review.googlesource.com/7943
Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
Aram Hăvărneanu 2015-03-23 21:33:08 +01:00
parent b0e71f46b5
commit a77fcb3f8d
4 changed files with 4 additions and 4 deletions

View File

@ -91,7 +91,7 @@ func sendFile(c *netFD, r io.Reader) (written int64, err error, handled bool) {
if err1 != nil {
// This includes syscall.ENOSYS (no kernel
// support) and syscall.EINVAL (fd types which
// don't implement sendfile together)
// don't implement sendfile)
err = err1
break
}

View File

@ -91,7 +91,7 @@ func sendFile(c *netFD, r io.Reader) (written int64, err error, handled bool) {
if err1 != nil {
// This includes syscall.ENOSYS (no kernel
// support) and syscall.EINVAL (fd types which
// don't implement sendfile together)
// don't implement sendfile)
err = err1
break
}

View File

@ -64,7 +64,7 @@ func sendFile(c *netFD, r io.Reader) (written int64, err error, handled bool) {
if err1 != nil {
// This includes syscall.ENOSYS (no kernel
// support) and syscall.EINVAL (fd types which
// don't implement sendfile together)
// don't implement sendfile)
err = err1
break
}

View File

@ -95,7 +95,7 @@ func sendFile(c *netFD, r io.Reader) (written int64, err error, handled bool) {
if err1 != nil {
// This includes syscall.ENOSYS (no kernel
// support) and syscall.EINVAL (fd types which
// don't implement sendfile together)
// don't implement sendfile)
err = err1
break
}