diff options
Diffstat (limited to 'kernel/cpu/syscall.c')
-rw-r--r-- | kernel/cpu/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cpu/syscall.c b/kernel/cpu/syscall.c index 284a80d..a78e63e 100644 --- a/kernel/cpu/syscall.c +++ b/kernel/cpu/syscall.c @@ -152,7 +152,7 @@ int syscall_fstat(int fd, struct stat *buf) { } int syscall_ftruncate(int fd, size_t length) { - return vfs_ftruncate(fd, length); + return vfs_ftruncate(fd, length, 0); } char *syscall_getcwd(char *buf, size_t size) { |