summaryrefslogtreecommitdiff
path: root/src/init
diff options
context:
space:
mode:
Diffstat (limited to 'src/init')
-rw-r--r--src/init/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/init/main.c b/src/init/main.c
index 8e78b87..1a6162a 100644
--- a/src/init/main.c
+++ b/src/init/main.c
@@ -61,7 +61,8 @@ void fs_test(void) {
// parent: accesses the fs
log("\n\n");
- _syscall_mount(front, argify("/init"));
+ // the trailing slash should be ignored by mount()
+ _syscall_mount(front, argify("/init/"));
read_file(argify("/init/fake.txt"));
read_file(argify("/init/1.txt"));
read_file(argify("/init/2.txt"));