diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-01-25 00:40:00 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-01-25 00:40:00 +0000 |
commit | d62d06b6ff7c4b43cd84055f76e27c1f0bafa99d (patch) | |
tree | e19dabbae97f64342b2aeac026b28b1a85cbb041 /libgo/syscalls/socket_bsd.go | |
parent | b74385f07c418cd0277a076c720c05fa40b52657 (diff) | |
download | gcc-d62d06b6ff7c4b43cd84055f76e27c1f0bafa99d.zip gcc-d62d06b6ff7c4b43cd84055f76e27c1f0bafa99d.tar.gz gcc-d62d06b6ff7c4b43cd84055f76e27c1f0bafa99d.tar.bz2 |
libgo: Fix typo in syscalls/socket_bsd.go.
From-SVN: r169190
Diffstat (limited to 'libgo/syscalls/socket_bsd.go')
-rw-r--r-- | libgo/syscalls/socket_bsd.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/syscalls/socket_bsd.go b/libgo/syscalls/socket_bsd.go index c46e24e..d4edc7a 100644 --- a/libgo/syscalls/socket_bsd.go +++ b/libgo/syscalls/socket_bsd.go @@ -43,11 +43,11 @@ type RawSockaddrUnix struct { Path [108]int8; } -func (sa *RawsockaddrUnix) setLen(n int) { +func (sa *RawSockaddrUnix) setLen(n int) { sa.Len = uint8(3 + n) // 2 for Family, Len; 1 for NUL. } -func (sa *RawsockaddrUnix) getLen() (int, int) { +func (sa *RawSockaddrUnix) getLen() (int, int) { if sa.Len < 3 || sa.Len > SizeofSockaddrUnix { return 0, EINVAL } |