diff options
Diffstat (limited to 'src/init/tests/main.c')
-rw-r--r-- | src/init/tests/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init/tests/main.c b/src/init/tests/main.c index d895289..1260a35 100644 --- a/src/init/tests/main.c +++ b/src/init/tests/main.c @@ -74,7 +74,7 @@ static void test_interrupted_fs(void) { _syscall_exit(0); } else { /* parent */ _syscall_mount(h, "/", 1); - int ret = _syscall_open("/", 1); + int ret = _syscall_open("/", 1, 0); // the handler quits while handling that call - but this syscall should return anyways _syscall_exit(ret < 0 ? 0 : -1); } @@ -86,7 +86,7 @@ static void test_orphaned_fs(void) { _syscall_exit(0); } else { /* parent */ _syscall_mount(h, "/", 1); - int ret = _syscall_open("/", 1); + int ret = _syscall_open("/", 1, 0); // no handler will ever be available to handle this call - the syscall should instantly return _syscall_exit(ret < 0 ? 0 : -1); } |