aboutsummaryrefslogtreecommitdiff
path: root/src/sysbin/init/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysbin/init/main.c')
-rw-r--r--src/sysbin/init/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysbin/init/main.c b/src/sysbin/init/main.c
index a2c607d..d7f3f36 100644
--- a/src/sysbin/init/main.c
+++ b/src/sysbin/init/main.c
@@ -140,7 +140,7 @@ void launch_login() {
ok = bind_fs(login_pid, "config", "config");
if (!ok) PANIC("[init] Could not bind config:/ to login");
- ok = bind_fd(login_pid, 1, root_gip_chan.a);
+ ok = bind_fd(login_pid, 1, root_gip_chan.b);
if (!ok) PANIC("[init] Could not bind root GIP channel FD to login");
ok = proc_exec(login_pid, "sys:/bin/login.bin");