From 094a054bd08ed1f2d28ae660fe6d65028d4c9723 Mon Sep 17 00:00:00 2001 From: David Crawshaw Date: Wed, 14 Jan 2015 10:20:58 -0500 Subject: [PATCH] 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 --- src/syscall/asm_linux_arm.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.51.0