bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Pass mach_task_self when deallocating INIT_PORT_CWDIR


From: Samuel Thibault
Subject: Re: [PATCH] Pass mach_task_self when deallocating INIT_PORT_CWDIR
Date: Mon, 17 Jan 2022 22:14:33 +0100
User-agent: NeoMutt/20170609 (1.8.3)

D'oh, sure, thanks!

Flavio Cruz, le lun. 17 janv. 2022 11:20:45 -0800, a ecrit:
> ---
>  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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]