summaryrefslogtreecommitdiff
path: root/src/libc/_start2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libc/_start2.c')
-rw-r--r--src/libc/_start2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libc/_start2.c b/src/libc/_start2.c
index 2c6b64d..e6809b9 100644
--- a/src/libc/_start2.c
+++ b/src/libc/_start2.c
@@ -35,8 +35,8 @@ _Noreturn void _start2(struct execdata *ed) {
_klogf("_start2 %s %p", progname, __executable_start);
- _sys_intr_set(intr_trampoline);
intr_set(intr_default);
+ _sys_intr_set(intr_trampoline); /* can cause queued interrupts to arrive */
__initialcwd = ed->cwd;
exit(main(ed->argc, ed->argv, ed->envp));