summaryrefslogtreecommitdiff
path: root/src/init/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/init/main.c')
-rw-r--r--src/init/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/init/main.c b/src/init/main.c
index deacb15..41f51d3 100644
--- a/src/init/main.c
+++ b/src/init/main.c
@@ -28,8 +28,10 @@ int main(void) {
}
void fs_test(void) {
- handle_t front, back;
+ handle_t front, back, file;
front = _syscall_fs_create((void*)&back); // TODO change user_ptr to void*
+ _syscall_mount(front, argify("/mnt"));
+ file = _syscall_open(argify("/mnt/test"));
}
void misc_tests(void) {