diff options
author | Marvin Borner | 2021-01-07 20:11:48 +0100 |
---|---|---|
committer | Marvin Borner | 2021-01-07 20:11:48 +0100 |
commit | 9fad5e3bb718c5892ec72de42977886233721cb9 (patch) | |
tree | 135ac142e1b3d479d303e3aba4dcfa142749cb2a /kernel/features/syscall.c | |
parent | 8fb2349d12e21868c77f2c975dbd958eb2536499 (diff) |
Started conversion to VFS
Diffstat (limited to 'kernel/features/syscall.c')
-rw-r--r-- | kernel/features/syscall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/features/syscall.c b/kernel/features/syscall.c index 9eb9f4b..8ede015 100644 --- a/kernel/features/syscall.c +++ b/kernel/features/syscall.c @@ -34,11 +34,11 @@ void syscall_handler(struct regs *r) break; } case SYS_STAT: { - r->eax = (u32)file_stat((char *)r->ebx); + r->eax = (u32)vfs_stat((char *)r->ebx); break; } case SYS_READ: { - r->eax = (u32)file_read((char *)r->ebx); + r->eax = (u32)vfs_read((char *)r->ebx); break; } case SYS_WRITE: { |