1
0
mirror of https://github.com/golang/go synced 2024-11-22 04:14:42 -07:00

syscall: fix linux/arm build

bug introduced at
https://golang.org/cl/2331044

R=ken2
CC=golang-dev
https://golang.org/cl/3440046
This commit is contained in:
Russ Cox 2010-12-08 14:31:46 -05:00
parent b07b04d35f
commit 66f7463e80

View File

@ -98,3 +98,15 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, errno int)
func (r *PtraceRegs) PC() uint64 { return 0 } func (r *PtraceRegs) PC() uint64 { return 0 }
func (r *PtraceRegs) SetPC(pc uint64) {} func (r *PtraceRegs) SetPC(pc uint64) {}
func (iov *Iovec) SetLen(length int) {
iov.Len = uint32(length)
}
func (msghdr *Msghdr) SetControllen(length int) {
msghdr.Controllen = uint32(length)
}
func (cmsg *Cmsghdr) SetLen(length int) {
cmsg.Len = uint32(length)
}