diff options
author | dzwdz | 2022-05-06 14:41:58 +0200 |
---|---|---|
committer | dzwdz | 2022-05-06 14:41:58 +0200 |
commit | 8ee57c885a72854d1884a886de4db538a8468e07 (patch) | |
tree | 9c9f2eea8d7667ce7ed45dd71b6bbde40ce93f7e /src/init/shell.c | |
parent | 53d21d1ccb75004d0085efedd688b695707a3138 (diff) |
syscalls: merge fork() and fs_fork2()
Diffstat (limited to 'src/init/shell.c')
-rw-r--r-- | src/init/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
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")) { |