diff options
Diffstat (limited to 'src/unistd')
-rw-r--r-- | src/unistd/pread.c | 2 | ||||
-rw-r--r-- | src/unistd/pwrite.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/unistd/pread.c b/src/unistd/pread.c index 3d2799fd..5483eb9d 100644 --- a/src/unistd/pread.c +++ b/src/unistd/pread.c @@ -4,7 +4,7 @@ ssize_t pread(int fd, void *buf, size_t size, off_t ofs) { - return syscall_cp(SYS_pread, fd, buf, size, __SYSCALL_LL_O(ofs)); + return syscall_cp(SYS_pread, fd, buf, size, __SYSCALL_LL_PRW(ofs)); } LFS64(pread); diff --git a/src/unistd/pwrite.c b/src/unistd/pwrite.c index bbe4c345..4bf3d7df 100644 --- a/src/unistd/pwrite.c +++ b/src/unistd/pwrite.c @@ -4,7 +4,7 @@ ssize_t pwrite(int fd, const void *buf, size_t size, off_t ofs) { - return syscall_cp(SYS_pwrite, fd, buf, size, __SYSCALL_LL_O(ofs)); + return syscall_cp(SYS_pwrite, fd, buf, size, __SYSCALL_LL_PRW(ofs)); } LFS64(pwrite); |