summaryrefslogtreecommitdiff
path: root/src/user/bootstrap/tar.c
diff options
context:
space:
mode:
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) {