diff options
Diffstat (limited to 'libc/sysdeps/linux')
| -rw-r--r-- | libc/sysdeps/linux/common/lseek.c | 4 | 
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/lseek.c b/libc/sysdeps/linux/common/lseek.c index 500c6bf9d..11a1fbb3e 100644 --- a/libc/sysdeps/linux/common/lseek.c +++ b/libc/sysdeps/linux/common/lseek.c @@ -24,9 +24,7 @@ off_t __NC(lseek)(int fd, off_t offset, int whence)  #elif __WORDSIZE == 32  	__off64_t result;  	__off_t high = 0; -	return INLINE_SYSCALL(llseek, 5, fd, -				__LONG_LONG_PAIR(high, offset), -				&result, whence) ?: result; +	return INLINE_SYSCALL(llseek, 5, fd, high, offset, &result, whence) ?: result;  #endif  /* No need to handle __WORDSIZE == 64 as such a kernel won't define __NR_llseek */  }  | 
