Skip to content

Commit 084ad87

Browse files
database64128tklauser
authored andcommitted
unix: fix //sys decl after CL 548795
CL 548795 mistakenly changed one of the //sys declaration to "// sys" while resolving a merge conflict. For golang/go#64710 Change-Id: I029b461fd3ca7b76f3bd23b3343f7e63c4bb09f3 Reviewed-on: https://go-review.googlesource.com/c/sys/+/688857 Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Tobias Klauser <[email protected]> Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 751c3c6 commit 084ad87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unix/syscall_darwin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,6 @@ func Connectx(fd int, srcIf uint32, srcAddr, dstAddr Sockaddr, associd SaeAssocI
602602
return
603603
}
604604

605-
// sys connectx(fd int, endpoints *SaEndpoints, associd SaeAssocID, flags uint32, iov []Iovec, n *uintptr, connid *SaeConnID) (err error)
606605
const minIovec = 8
607606

608607
func Readv(fd int, iovs [][]byte) (n int, err error) {
@@ -746,6 +745,7 @@ func darwinKernelVersionMin(maj, min, patch int) bool {
746745
return actualMaj > maj || actualMaj == maj && (actualMin > min || actualMin == min && actualPatch >= patch)
747746
}
748747

748+
//sys connectx(fd int, endpoints *SaEndpoints, associd SaeAssocID, flags uint32, iov []Iovec, n *uintptr, connid *SaeConnID) (err error)
749749
//sys sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error)
750750

751751
//sys shmat(id int, addr uintptr, flag int) (ret uintptr, err error)

0 commit comments

Comments
 (0)