[CRIU] [PATCH] Bugfix: Kill dead code from pipes test #333

Andrei Vagin avagin at gmail.com
Wed Feb 27 08:50:19 MSK 2019


Applied, thanks!

On Tue, Feb 26, 2019 at 10:03:02AM +0000, mitulkarnik.92 at gmail.com wrote:
> From: Mitul Karnik <mitulkarnik.92 at gmail.com>
> 
> Signed-off-by: Mitul Karnik <mitulkarnik.92 at gmail.com>
> ---
>  test/zdtm/static/pipe01.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/test/zdtm/static/pipe01.c b/test/zdtm/static/pipe01.c
> index 85478b6e..ec8d1fb6 100644
> --- a/test/zdtm/static/pipe01.c
> +++ b/test/zdtm/static/pipe01.c
> @@ -108,8 +108,8 @@ int main(int argc, char ** argv)
>  		if (ret == 0)
>  			break;
>  		if (ret == -1) {
> -			goto err;
>  			pr_perror("read() failed");
> +			goto err;
>  		}
>  		size -= ret;
>  
> -- 
> 2.17.1
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list