diff options
Diffstat (limited to 'src/libc/_start2.c')
-rw-r--r-- | src/libc/_start2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libc/_start2.c b/src/libc/_start2.c index b4eb76a..dbc91d7 100644 --- a/src/libc/_start2.c +++ b/src/libc/_start2.c @@ -36,7 +36,7 @@ _Noreturn void _start2(struct execdata *ed) { _sys_intr_set(intr_trampoline); intr_set(intr_default); - __setinitialcwd(ed->cwd); + __initialcwd = ed->cwd; exit(main(ed->argc, ed->argv, ed->envp)); } |