summaryrefslogtreecommitdiff
path: root/src/init/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/init/syscalls.c')
-rw-r--r--src/init/syscalls.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/init/syscalls.c b/src/init/syscalls.c
index 7d0fef9..f32594e 100644
--- a/src/init/syscalls.c
+++ b/src/init/syscalls.c
@@ -22,12 +22,12 @@ int _syscall_mount(handle_t handle, const char __user *path, int len) {
return _syscall(_SYSCALL_MOUNT, handle, (int)path, len, 0);
}
-int _syscall_read(handle_t handle, char __user *buf, int len) {
- return _syscall(_SYSCALL_READ, handle, (int)buf, len, 0);
+int _syscall_read(handle_t handle, char __user *buf, int len, int offset) {
+ return _syscall(_SYSCALL_READ, handle, (int)buf, len, offset);
}
-int _syscall_write(handle_t handle, const char __user *buf, int len) {
- return _syscall(_SYSCALL_WRITE, handle, (int)buf, len, 0);
+int _syscall_write(handle_t handle, const char __user *buf, int len, int offset) {
+ return _syscall(_SYSCALL_WRITE, handle, (int)buf, len, offset);
}
int _syscall_close(handle_t handle) {