summaryrefslogtreecommitdiff
path: root/src/user/app/init/driver/termcook.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/app/init/driver/termcook.c')
-rw-r--r--src/user/app/init/driver/termcook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/app/init/driver/termcook.c b/src/user/app/init/driver/termcook.c
index 59cef77..3dc6f32 100644
--- a/src/user/app/init/driver/termcook.c
+++ b/src/user/app/init/driver/termcook.c
@@ -63,7 +63,7 @@ void termcook(void) {
if (!fork()) {
close(stdin_pipe[0]);
line_editor(0, stdin_pipe[1]);
- _syscall_exit(0);
+ exit(0);
}
/* 0 is stdin, like in unix */
_syscall_dup(stdin_pipe[0], 0, 0);