diff options
| author | David Crawshaw <crawshaw@golang.org> | 2015-01-14 10:20:58 -0500 |
|---|---|---|
| committer | David Crawshaw <crawshaw@golang.org> | 2015-01-14 17:08:00 +0000 |
| commit | 094a054bd08ed1f2d28ae660fe6d65028d4c9723 (patch) | |
| tree | 14b87807c34d6e7c4a66222b10a9dc209bcdbed7 /src | |
| parent | 776aecaf6e16076bde940124c309dc6e5027c6e2 (diff) | |
| download | go-094a054bd08ed1f2d28ae660fe6d65028d4c9723.tar.xz | |
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>
Diffstat (limited to 'src')
| -rw-r--r-- | src/syscall/asm_linux_arm.s | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
