This commit is contained in:
xushiwei
2024-07-26 14:51:17 +08:00
parent a3b23e348a
commit 49fabf23a8

View File

@@ -79,7 +79,7 @@ func (w WaitStatus) TrapCause() int {
}
*/
func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
func Wait4(pid int, wstatus *WaitStatus, options int, rusage *syscall.Rusage) (wpid int, err error) {
var status c.Int
wpid, err = wait4(pid, &status, options, rusage)
if wstatus != nil {