aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/syscall_solaris.go
diff options
context:
space:
mode:
authorMichael Anthony Knyszek <mknyszek@google.com>2021-12-03 11:58:15 -0500
committerMichael Anthony Knyszek <mknyszek@google.com>2021-12-03 11:58:15 -0500
commitc884bd9ef2f1f36a98fa89bb4be07d4f9fe66589 (patch)
treef0543c1806db096c0ab766a14f05d2725e6c0791 /src/runtime/syscall_solaris.go
parent06a4b2790c5bb6530e0c4f05277b19c187134f49 (diff)
parent8faefcbfce6d2b2875ab74d81bb4e94b2e3adaf5 (diff)
downloadgo-c884bd9ef2f1f36a98fa89bb4be07d4f9fe66589.tar.gz
go-c884bd9ef2f1f36a98fa89bb4be07d4f9fe66589.zip
[dev.boringcrypto.go1.16] all: merge go1.16.11 into dev.boringcrypto.go1.16
Change-Id: I38f5b727d23d22238bf6886a7e33b5f72edeaa38
Diffstat (limited to 'src/runtime/syscall_solaris.go')
-rw-r--r--src/runtime/syscall_solaris.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/syscall_solaris.go b/src/runtime/syscall_solaris.go
index 094516927f..ed5b7d19f9 100644
--- a/src/runtime/syscall_solaris.go
+++ b/src/runtime/syscall_solaris.go
@@ -303,6 +303,8 @@ func syscall_wait4(pid uintptr, wstatus *uint32, options uintptr, rusage unsafe.
entersyscallblock()
asmcgocall(unsafe.Pointer(&asmsysvicall6x), unsafe.Pointer(&call))
exitsyscall()
+ KeepAlive(wstatus)
+ KeepAlive(rusage)
return int(call.r1), call.err
}