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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/init/main.c b/src/init/main.c
index 4f99c8b..b0e31ae 100644
--- a/src/init/main.c
+++ b/src/init/main.c
@@ -15,12 +15,12 @@ const char *multipageify(const char *str) {
return out;
}
-#define mount(path) _syscall_mount(path, sizeof(path)-1, 0)
+#define mount(fd, path) _syscall_fd_mount(fd, path, sizeof(path)-1)
int main(void) {
- mount("/");
- mount("/some/where");
- mount("/some");
+ mount(0, "/");
+ mount(0, "/some/where");
+ mount(0, "/some");
_syscall_fs_open(
multipageify("/some/where/file"),