Patchwork libgo patch committed: Fix typo in socket_bsd.go

login
register
mail settings
Submitter Ian Taylor
Date Jan. 27, 2011, 12:08 a.m.
Message ID <mcrbp33tdi3.fsf@google.com>
Download mbox | patch
Permalink /patch/80570/
State New
Headers show

Comments

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

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
 }