]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: match seek argument size to signature
authorDavid Crawshaw <crawshaw@golang.org>
Wed, 14 Jan 2015 15:20:58 +0000 (10:20 -0500)
committerDavid Crawshaw <crawshaw@golang.org>
Wed, 14 Jan 2015 17:08:00 +0000 (17:08 +0000)
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>
src/syscall/asm_linux_arm.s

index 3526533019004b409612886ba1fe21ae8fc12a3d..a9e07423c6e36e237bacda749d7b786de0e42405 100644 (file)
@@ -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