From 8ee57c885a72854d1884a886de4db538a8468e07 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 6 May 2022 14:41:58 +0200 Subject: syscalls: merge fork() and fs_fork2() --- src/init/shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/init/shell.c') diff --git a/src/init/shell.c b/src/init/shell.c index e7c836f..105231e 100644 --- a/src/init/shell.c +++ b/src/init/shell.c @@ -145,7 +145,7 @@ void shell_loop(void) { } else if (!strcmp(cmd, "exit")) { _syscall_exit(0); } else if (!strcmp(cmd, "fork")) { - if (_syscall_fork(0)) + if (_syscall_fork(0, NULL)) _syscall_await(); else level++; } else if (!strcmp(cmd, "run_tests")) { -- cgit v1.2.3