[lxc-devel] [PATCH] c/r: remove random line continuations

Serge Hallyn serge.hallyn at ubuntu.com
Tue Dec 8 02:08:20 UTC 2015


Quoting Tycho Andersen (tycho.andersen at canonical.com):
> No idea how these got there, but let's get rid of them since they're weird.
> 
> Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>

Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>

> ---
>  src/lxc/criu.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/lxc/criu.c b/src/lxc/criu.c
> index 695a763..a0c3a16 100644
> --- a/src/lxc/criu.c
> +++ b/src/lxc/criu.c
> @@ -175,9 +175,9 @@ void exec_criu(struct criu_opts *opts)
>  
>  		additional = lxc_list_len(&opts->c->lxc_conf->network) * 2;
>  
> -		m = realloc(argv, (argc + additional + 1) * sizeof(*argv));	\
> -		if (!m)								\
> -			goto err;						\
> +		m = realloc(argv, (argc + additional + 1) * sizeof(*argv));
> +		if (!m)
> +			goto err;
>  		argv = m;
>  
>  		lxc_list_for_each(it, &opts->c->lxc_conf->network) {
> -- 
> 2.5.0
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel


More information about the lxc-devel mailing list