summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/login.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/login.c b/utils/login.c
index e3d7c4bc..275cfe52 100644
--- a/utils/login.c
+++ b/utils/login.c
@@ -696,6 +696,7 @@ main(int argc, char *argv[])
for (i = 0; i < INIT_PORT_MAX; i++)
ports[i] = MACH_PORT_NULL;
ports[INIT_PORT_PROC] = getproc ();
+ ports[INIT_PORT_CTTYID] = getcttyid ();
ports[INIT_PORT_CRDIR] = getcrdir (); /* May be replaced below. */
ports[INIT_PORT_CWDIR] = getcwdir (); /* " */