[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH hurd 3/7] libports: silence pointless error message
From: |
Samuel Thibault |
Subject: |
Re: [PATCH hurd 3/7] libports: silence pointless error message |
Date: |
Sat, 17 Jan 2015 18:39:08 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Justus Winter, le Sat 17 Jan 2015 18:26:42 +0100, a écrit :
> * libports/manage-multithread.c (adjust_priority): Silence pointless
> error message.
Ack, thanks!
> ---
> libports/manage-multithread.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/libports/manage-multithread.c b/libports/manage-multithread.c
> index 2067cba..ad22991 100644
> --- a/libports/manage-multithread.c
> +++ b/libports/manage-multithread.c
> @@ -50,6 +50,11 @@ adjust_priority (unsigned int totalthreads)
> thread_switch (MACH_PORT_NULL, SWITCH_OPTION_DEPRESS, t);
>
> err = get_privileged_ports (&host_priv, NULL);
> + if (err == MACH_SEND_INVALID_DEST)
> + /* This is returned if we neither have the privileged host control
> + port cached nor have a proc server to talk to. Give up. */
> + return;
> +
> if (err)
> goto error_host_priv;
>
> --
> 2.1.4
>
--
Samuel
Profitant de cette occasion, vous serait-il possible de rebooter
aussi Modérator et son petit copain qui gère les ressources de
download ?
-+- OB in NPC : Apprendre à flasher son personnel -+-
- [PATCH hurd 1/7] libfshelp: improve error handling, Justus Winter, 2015/01/17
- [PATCH hurd 2/7] libdiskfs: fix port leak, Justus Winter, 2015/01/17
- [PATCH hurd 4/7] startup: give the tasks we create a name, Justus Winter, 2015/01/17
- [PATCH hurd 3/7] libports: silence pointless error message, Justus Winter, 2015/01/17
- Re: [PATCH hurd 3/7] libports: silence pointless error message,
Samuel Thibault <=
- [PATCH hurd 6/7] auth: remove implicit assumption about the bootstrap process, Justus Winter, 2015/01/17
- [PATCH hurd 7/7] proc: call `startup_essential_task' earlier, Justus Winter, 2015/01/17
- [PATCH hurd 5/7] auth: simplify expression, Justus Winter, 2015/01/17
- Re: [PATCH hurd 1/7] libfshelp: improve error handling, Samuel Thibault, 2015/01/17