summaryrefslogtreecommitdiff
path: root/libgo/go/syscall/libcall_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/syscall/libcall_linux.go')
-rw-r--r--libgo/go/syscall/libcall_linux.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/go/syscall/libcall_linux.go b/libgo/go/syscall/libcall_linux.go
index a5421d436d6..482a23f96de 100644
--- a/libgo/go/syscall/libcall_linux.go
+++ b/libgo/go/syscall/libcall_linux.go
@@ -313,11 +313,13 @@ func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n i
var lroff _loff_t
var plroff *_loff_t
if roff != nil {
+ lroff = _loff_t(*roff)
plroff = &lroff
}
var lwoff _loff_t
var plwoff *_loff_t
if woff != nil {
+ lwoff = _loff_t(*woff)
plwoff = &lwoff
}
n, err = splice(rfd, plroff, wfd, plwoff, len, flags)