diff options
author | Anton Kling <anton@kling.gg> | 2024-03-17 20:55:34 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-03-17 20:55:34 +0100 |
commit | 0dccff86e50dfe1555b8bc29862dba2b972a3705 (patch) | |
tree | 8d0c354c65278afdc3427bb52e1e63900ccdbc05 /kernel/syscalls/isatty.c | |
parent | 2e8b474d4219e7faaac3823e73c8d528c2698a37 (diff) |
stuff
Diffstat (limited to 'kernel/syscalls/isatty.c')
-rw-r--r-- | kernel/syscalls/isatty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/syscalls/isatty.c b/kernel/syscalls/isatty.c index 9f3cca1..de3e918 100644 --- a/kernel/syscalls/isatty.c +++ b/kernel/syscalls/isatty.c @@ -3,7 +3,7 @@ #include <syscalls.h> int syscall_isatty(int fd) { - vfs_fd_t *fd_ptr = get_vfs_fd(fd); + vfs_fd_t *fd_ptr = get_vfs_fd(fd, NULL); if (!fd_ptr) { return -EBADF; } |