summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-27 00:08:02 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-27 00:08:02 +0000
commit267c5aad970734ffd759cf5dab84a4a49092e3a7 (patch)
treefebec680202312b37cb1ea5e9350fa114b9fb4e3
parentd9f808e20b82d0fa0f6949192b3b661f8c52982e (diff)
downloadgcc-267c5aad970734ffd759cf5dab84a4a49092e3a7.tar.gz
Fix typo in socket_bsd.go.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169313 138bc75d-0d04-0410-961f-82ee72b054a4
-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 d4edc7a2e18..f4d06b4f5b0 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
}