mirror of
https://github.com/golang/go
synced 2024-11-23 16:00:06 -07:00
syscall: match seek argument size to signature
Caught by go vet: asm_linux_arm.s:110: [arm] seek: wrong argument size 32; expected $...-28 Change-Id: I62ec5327a25bff9ef501c42cc1e28ea7ec78510f Reviewed-on: https://go-review.googlesource.com/2810 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
776aecaf6e
commit
094a054bd0
@ -107,7 +107,7 @@ ok2:
|
||||
// taking the address of the return value newoffset.
|
||||
// Underlying system call is
|
||||
// llseek(int fd, int offhi, int offlo, int64 *result, int whence)
|
||||
TEXT ·seek(SB),NOSPLIT,$0-32
|
||||
TEXT ·seek(SB),NOSPLIT,$0-28
|
||||
BL runtime·entersyscall(SB)
|
||||
MOVW $SYS__LLSEEK, R7 // syscall entry
|
||||
MOVW 4(SP), R0 // fd
|
||||
|
Loading…
Reference in New Issue
Block a user