From d54dcb2efc4be344900a7721ac4b65b47840c5d2 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 26 Jul 2022 22:21:52 +0200 Subject: user/libc: exit() What an interesting commit. --- src/user/app/init/driver/tmpfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/user/app/init/driver/tmpfs.c') diff --git a/src/user/app/init/driver/tmpfs.c b/src/user/app/init/driver/tmpfs.c index 83c42c7..d9f73ab 100644 --- a/src/user/app/init/driver/tmpfs.c +++ b/src/user/app/init/driver/tmpfs.c @@ -2,6 +2,7 @@ #include #include #include +#include struct node { const char *name; @@ -128,5 +129,5 @@ void tmpfs_drv(void) { } } - _syscall_exit(1); + exit(1); } -- cgit v1.2.3