libgo patch committed: Fix typo in socket_bsd.go

Submitted by Ian Taylor on Jan. 27, 2011, 12:08 a.m.

Details

Message ID mcrbp33tdi3.fsf@google.com
State New
Headers show

Commit Message

Ian Taylor Jan. 27, 2011, 12:08 a.m.
This patch fixes a typo in socket_bsd.go.  Bootstrapped and ran Go
testsuite on x86_64-unknown-linux-gnu.  Committed to mainline.

Ian

Patch hide | download patch | download mbox

diff -r b313a314f7c7 libgo/syscalls/socket_bsd.go
--- a/libgo/syscalls/socket_bsd.go	Wed Jan 26 16:02:09 2011 -0800
+++ b/libgo/syscalls/socket_bsd.go	Wed Jan 26 16:06:49 2011 -0800
@@ -33,7 +33,7 @@ 
 }
 
 func (sa *RawSockaddrInet6) setLen() Socklen_t {
-	sa.raw.Len = SizeofSockaddrInet6
+	sa.Len = SizeofSockaddrInet6
 	return SizeofSockaddrInet6
 }