summaryrefslogtreecommitdiff
path: root/src/libc/_start2.c
diff options
context:
space:
mode:
authordzwdz2023-09-03 01:30:53 +0200
committerdzwdz2023-09-03 01:30:53 +0200
commita492c6ec119bd1151a6f2f7b70875ba173e9c036 (patch)
treea96f9d4ff4b120ecd58f8f41ab26b5a28fd368c0 /src/libc/_start2.c
parentfd80c0b227336f4650d6b54d82469feb017aeded (diff)
libc: split up large .c files, slimming down small binaries a bit
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 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));
}