aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2011-01-27 00:08:02 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2011-01-27 00:08:02 +0000
commitdc75b817341aabde4ef4e77f5289b9d7bb6c8ee7 (patch)
treefebec680202312b37cb1ea5e9350fa114b9fb4e3 /libgo
parent83f2ff2ad34fc5650842e49cc7b8fd73af13c338 (diff)
downloadgcc-dc75b817341aabde4ef4e77f5289b9d7bb6c8ee7.zip
gcc-dc75b817341aabde4ef4e77f5289b9d7bb6c8ee7.tar.gz
gcc-dc75b817341aabde4ef4e77f5289b9d7bb6c8ee7.tar.bz2
Fix typo in socket_bsd.go.
From-SVN: r169313
Diffstat (limited to 'libgo')
-rw-r--r--libgo/syscalls/socket_bsd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/syscalls/socket_bsd.go b/libgo/syscalls/socket_bsd.go
index d4edc7a..f4d06b4 100644
--- a/libgo/syscalls/socket_bsd.go
+++ b/libgo/syscalls/socket_bsd.go
@@ -33,7 +33,7 @@ type RawSockaddrInet6 struct {
}
func (sa *RawSockaddrInet6) setLen() Socklen_t {
- sa.raw.Len = SizeofSockaddrInet6
+ sa.Len = SizeofSockaddrInet6
return SizeofSockaddrInet6
}