--- utils/login.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.32.0
- [PATCH] Pass mach_task_self when deallocating INIT_PORT_CW... Flavio Cruz
- Re: [PATCH] Pass mach_task_self when deallocating INI... Samuel Thibault