[CRIU] [PATCH] Drop crtools word from zdmt C code

Pavel Emelyanov xemul at parallels.com
Mon Jun 3 05:59:07 EDT 2013


On 05/28/2013 08:40 PM, Cyrill Gorcunov wrote:
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  test/zdtm/lib/tcp.c                    | 2 +-
>  test/zdtm/live/static/fifo-rowo-pair.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 


applied

> --- a/test/zdtm/lib/tcp.c
> +++ b/test/zdtm/lib/tcp.c
> @@ -44,7 +44,7 @@ int tcp_init_server(int family, int *port)
>  
>  		ret = bind(sock, (struct sockaddr *) &addr, sizeof(addr));
>  
> -		/* crtools doesn't restore sock opts, so we need this hack */
> +		/* criu doesn't restore sock opts, so we need this hack */

btw, this is wrong. Wort fixing.

>  		if (ret == -1 && errno == EADDRINUSE) {
>  			test_msg("The port %d is already in use.\n", *port);
>  			(*port)++;



More information about the CRIU mailing list