[CRIU] [PATCH 07/14] Correct an error message after waitpid

Kirill Tkhai ktkhai at virtuozzo.com
Wed Mar 22 02:55:55 PDT 2017


On 22.03.2017 01:00, Kir Kolyshkin wrote:
> Usually we print the PID we wait for, let's do the same here.
> Probably just a typo.
> 
> Cc: Kirill Tkhai <ktkhai at virtuozzo.com>
> Signed-off-by: Kir Kolyshkin <kir at openvz.org>

Reviewed-by: Kirill Tkhai <ktkhai at virtuozzo.com>

> ---
>  criu/namespaces.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/criu/namespaces.c b/criu/namespaces.c
> index 01afca4..a0e7397 100644
> --- a/criu/namespaces.c
> +++ b/criu/namespaces.c
> @@ -1175,7 +1175,7 @@ static int check_user_ns(struct ns_id *ns)
>  	}
>  
>  	if (waitpid(chld, &status, 0) != chld) {
> -		pr_perror("Unable to wait the %d process", pid);
> +		pr_perror("Unable to wait for PID %d", chld);
>  		return -1;
>  	}
>  
> 


More information about the CRIU mailing list