diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-04-22 20:07:23 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-04-22 20:07:23 +0000 |
commit | f04e40afc115bcf2143f541baa9e4cccef19922a (patch) | |
tree | 727c68d58637cfdca680a6ec562c70daced9b676 /libgo/go/syscall | |
parent | df32732fa8f155d91b88a998e853ca63621ab3a9 (diff) | |
download | gcc-f04e40afc115bcf2143f541baa9e4cccef19922a.zip gcc-f04e40afc115bcf2143f541baa9e4cccef19922a.tar.gz gcc-f04e40afc115bcf2143f541baa9e4cccef19922a.tar.bz2 |
mksysinfo: More fixes to emulate master Go library.
From-SVN: r186685
Diffstat (limited to 'libgo/go/syscall')
-rw-r--r-- | libgo/go/syscall/libcall_linux.go | 2 | ||||
-rw-r--r-- | libgo/go/syscall/socket.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/syscall/libcall_linux.go b/libgo/go/syscall/libcall_linux.go index b91018a..7c9f05e 100644 --- a/libgo/go/syscall/libcall_linux.go +++ b/libgo/go/syscall/libcall_linux.go @@ -335,7 +335,7 @@ func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n i //sys Tee(rfd int, wfd int, len int, flags int) (n int64, err error) //tee(rfd int, wfd int, len Size_t, flags uint) Ssize_t -func Tgkill(tgid, tid int, sig Signal) error { +func Tgkill(tgid int, tid int, sig Signal) error { r1, _, errno := Syscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig)) if r1 < 0 { return errno diff --git a/libgo/go/syscall/socket.go b/libgo/go/syscall/socket.go index 6d36e39..9737590 100644 --- a/libgo/go/syscall/socket.go +++ b/libgo/go/syscall/socket.go @@ -22,7 +22,7 @@ type Sockaddr interface { type RawSockaddrAny struct { Addr RawSockaddr - Pad [12]int8 + Pad [96]int8 } const SizeofSockaddrAny = 0x1c |