diff options
author | dzwdz | 2022-07-26 22:21:52 +0200 |
---|---|---|
committer | dzwdz | 2022-07-26 22:34:22 +0200 |
commit | d54dcb2efc4be344900a7721ac4b65b47840c5d2 (patch) | |
tree | 8d0b2a5158809fe64a40e3b362c01f1b2f22772e /src/user/app/init/driver/tmpfs.c | |
parent | 059ef013683e780a6603b228cd1fd8391d11494e (diff) |
user/libc: exit()
What an interesting commit.
Diffstat (limited to 'src/user/app/init/driver/tmpfs.c')
-rw-r--r-- | src/user/app/init/driver/tmpfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <shared/mem.h> #include <stddef.h> #include <stdlib.h> +#include <unistd.h> struct node { const char *name; @@ -128,5 +129,5 @@ void tmpfs_drv(void) { } } - _syscall_exit(1); + exit(1); } |