summaryrefslogtreecommitdiff
path: root/src/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c
index 57774c2..f09085e 100644
--- a/src/kernel/syscalls.c
+++ b/src/kernel/syscalls.c
@@ -132,7 +132,7 @@ int _syscall_mount(handle_t handle, const char __user *path, int len) {
mount->prev = process_current->mount;
mount->prefix = path_buf;
mount->prefix_len = len;
- mount->backend = process_current->handles[handle].fs.backend;
+ mount->backend = backend;
process_current->mount = mount;
return 0;