1
0
mirror of https://github.com/golang/go synced 2024-11-05 15:46:11 -07:00

net: make syscall name consistent with others

Change-Id: Ic6d2de92e1f533a9f9a0cd6d7dab463bdafb0e11
Reviewed-on: https://go-review.googlesource.com/43691
Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com>
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
This commit is contained in:
Alex Brainman 2017-05-19 15:12:49 +10:00
parent e309dd938f
commit 64f064cac6

View File

@ -170,7 +170,7 @@ func (c *conn) writeBuffers(v *Buffers) (int64, error) {
} }
n, err := c.fd.writeBuffers(v) n, err := c.fd.writeBuffers(v)
if err != nil { if err != nil {
return n, &OpError{Op: "WSASend", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err} return n, &OpError{Op: "wsasend", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err}
} }
return n, nil return n, nil
} }