From: David Crawshaw Date: Wed, 14 Jan 2015 15:20:58 +0000 (-0500) Subject: syscall: match seek argument size to signature X-Git-Tag: go1.5beta1~2356 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=094a054bd08ed1f2d28ae660fe6d65028d4c9723;p=gostls13.git 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 --- diff --git a/src/syscall/asm_linux_arm.s b/src/syscall/asm_linux_arm.s index 3526533019..a9e07423c6 100644 --- a/src/syscall/asm_linux_arm.s +++ b/src/syscall/asm_linux_arm.s @@ -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