Skip to content

Commit

Permalink
runtime: update linker
Browse files Browse the repository at this point in the history
Signed-off-by: leongross <[email protected]>
  • Loading branch information
leongross committed Sep 24, 2024
1 parent 4186397 commit aaf0e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/syscall/syscall_libc.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func Truncate(path string, length int64) (err error) {
return
}

//go:linkname syscall_fcntl runtime.fcntl
//go:linkname syscall_fcntl runtime/runtime.fcntl
func syscall_fcntl(fd, cmd, arg int32) (ret int32, errno int32) {
// https://cs.opensource.google/go/go/+/master:src/runtime/os_linux.go;l=452?q=runtime.fcntl&ss=go%2Fgo
r, _, err := Syscall6(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg), 0, 0, 0)
Expand Down

0 comments on commit aaf0e21

Please sign in to comment.