summaryrefslogtreecommitdiff
path: root/kernel/cpu
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-04-17 17:06:16 +0200
committerAnton Kling <anton@kling.gg>2024-04-17 17:06:16 +0200
commit620d37f41747e943648544d1fd1567d386c91e04 (patch)
treebd6d616aca8a853f3b90cfd176bba4d37575e42a /kernel/cpu
parentd0cca44913356f8ce15e15216b0e26c2e74b4d06 (diff)
Kernel/LibC: Add fstat() and remove stat() syscall
Diffstat (limited to 'kernel/cpu')
-rw-r--r--kernel/cpu/syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cpu/syscall.c b/kernel/cpu/syscall.c
index a33a6e2..5412915 100644
--- a/kernel/cpu/syscall.c
+++ b/kernel/cpu/syscall.c
@@ -167,7 +167,7 @@ int (*syscall_functions[])() = {
(void(*))syscall_poll, (void(*))syscall_mmap,
(void(*))syscall_accept, (void(*))syscall_bind,
(void(*))syscall_socket, (void(*))syscall_shm_open,
- (void(*))syscall_ftruncate, (void(*))syscall_stat,
+ (void(*))syscall_ftruncate, (void(*))syscall_fstat,
(void(*))syscall_msleep, (void(*))syscall_uptime,
(void(*))syscall_mkdir, (void(*))syscall_recvfrom,
(void(*))syscall_sendto, (void(*))syscall_kill,