aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/syscall/exec_unix_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/syscall/exec_unix_test.go')
-rw-r--r--libgo/go/syscall/exec_unix_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/syscall/exec_unix_test.go b/libgo/go/syscall/exec_unix_test.go
index 9bb95c0..69c4a1f 100644
--- a/libgo/go/syscall/exec_unix_test.go
+++ b/libgo/go/syscall/exec_unix_test.go
@@ -169,7 +169,7 @@ func TestForeground(t *testing.T) {
t.Skipf("Can't test Foreground. Couldn't open /dev/tty: %s", err)
}
- fpgrp := 0
+ fpgrp := syscall.Pid_t(0)
errno := syscall.Ioctl(tty.Fd(), syscall.TIOCGPGRP, uintptr(unsafe.Pointer(&fpgrp)))
if errno != 0 {