summaryrefslogtreecommitdiff
path: root/src/user/bootstrap/tar.c
diff options
context:
space:
mode:
authordzwdz2022-07-26 22:21:52 +0200
committerdzwdz2022-07-26 22:34:22 +0200
commitd54dcb2efc4be344900a7721ac4b65b47840c5d2 (patch)
tree8d0b2a5158809fe64a40e3b362c01f1b2f22772e /src/user/bootstrap/tar.c
parent059ef013683e780a6603b228cd1fd8391d11494e (diff)
user/libc: exit()
What an interesting commit.
Diffstat (limited to 'src/user/bootstrap/tar.c')
-rw-r--r--src/user/bootstrap/tar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/user/bootstrap/tar.c b/src/user/bootstrap/tar.c
index a392f4c..75883e6 100644
--- a/src/user/bootstrap/tar.c
+++ b/src/user/bootstrap/tar.c
@@ -1,9 +1,9 @@
+#include "tar.h"
#include <camellia/flags.h>
#include <camellia/syscalls.h>
#include <shared/mem.h>
#include <stdint.h>
-
-#include "tar.h"
+#include <unistd.h>
#define BUF_SIZE 64
@@ -36,7 +36,7 @@ void tar_driver(void *base) {
break;
}
}
- _syscall_exit(0);
+ exit(0);
}
static void *tar_open(const char *path, int len, void *base, size_t base_len) {