summaryrefslogtreecommitdiff
path: root/src/cmd/init
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/init')
-rw-r--r--src/cmd/init/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/init/init.c b/src/cmd/init/init.c
index 7f26f1b..5c49281 100644
--- a/src/cmd/init/init.c
+++ b/src/cmd/init/init.c
@@ -34,7 +34,7 @@ void redirect(const char *exe, const char *out, const char *in) {
exit(1);
}
_sys_await();
- _sys_intr();
+ _sys_intr(NULL, 0);
_sys_sleep(1000);
}
}
@@ -42,7 +42,7 @@ void redirect(const char *exe, const char *out, const char *in) {
void shutdown(void) {
printf("[init] intr\n");
- _sys_intr();
+ _sys_intr(NULL, 0);
_sys_sleep(1000);
printf("[init] filicide\n");
_sys_filicide();