X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Funistd%2Flseek.c;h=63cea58817e4ccb7f1a6b9b50fe29b64cf9bfd8b;hp=0152866f8df42302f9bfb947796fef3c423dbb6a;hb=aa398f56fa398f2202b04e82c67f822f3233786f;hpb=be82e122bf37fdcd1766d1ed220f0300b30ab6a3 diff --git a/src/unistd/lseek.c b/src/unistd/lseek.c index 0152866f..63cea588 100644 --- a/src/unistd/lseek.c +++ b/src/unistd/lseek.c @@ -6,9 +6,9 @@ off_t lseek(int fd, off_t offset, int whence) { #ifdef __NR__llseek off_t result; - return syscall5(__NR__llseek, fd, offset>>32, offset, (long)&result, whence) ? -1 : result; + return syscall(SYS__llseek, fd, offset>>32, offset, &result, whence) ? -1 : result; #else - return syscall3(__NR_lseek, fd, offset, whence); + return syscall(SYS_lseek, fd, offset, whence); #endif }