summaryrefslogtreecommitdiff
path: root/kernel/syscalls/isatty.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/syscalls/isatty.c')
-rw-r--r--kernel/syscalls/isatty.c2
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;
}