aboutsummaryrefslogtreecommitdiff
path: root/src/lib/libc/start.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/start.c')
-rw-r--r--src/lib/libc/start.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/start.c b/src/lib/libc/start.c
index 185d90f..49bf6a3 100644
--- a/src/lib/libc/start.c
+++ b/src/lib/libc/start.c
@@ -12,8 +12,9 @@ void __libc_start() {
setup_libc_stdio();
// TODO : more setup ? yes, for args, for env...
+ char *argv[] = {"bin"};
- int ret = main(0, 0);
+ int ret = main(1, argv);
sc_exit(ret);
}