aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/login.c b/utils/login.c
index 553629c6..506fdaf2 100644
--- a/utils/login.c
+++ b/utils/login.c
@@ -788,7 +788,7 @@ main(int argc, char *argv[])
}
else
{
- mach_port_deallocate (ports[INIT_PORT_CWDIR]);
+ mach_port_deallocate (mach_task_self (), ports[INIT_PORT_CWDIR]);
ports[INIT_PORT_CWDIR] = cwd;
}
}