[Devel] Re: [PATCH] objhash: fix syntax error

Oren Laadan orenl at librato.com
Tue Aug 11 23:11:37 PDT 2009


Serge E. Hallyn wrote:
> first two args to ckpt_write_err() were switched
> 
> Signed-off-by: Serge E. Hallyn <serue at us.ibm.com>
> ---

Sure... pushed.

Oren.

>  checkpoint/objhash.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/checkpoint/objhash.c b/checkpoint/objhash.c
> index 3452e83..a2fb278 100644
> --- a/checkpoint/objhash.c
> +++ b/checkpoint/objhash.c
> @@ -682,8 +682,8 @@ int ckpt_obj_visit(struct ckpt_ctx *ctx, void *ptr, enum obj_type type)
>  		obj->flags |= CKPT_OBJ_VISITED;
>  	} else if (!(ctx->uflags & CHECKPOINT_SUBTREE)) {
>  		/* if not found and full container, report reverse leak */
> -		ckpt_write_err("reverse leak: %s (%d) not found\n",
> -			       ctx, obj->ops->obj_name, obj->objref);
> +		ckpt_write_err(ctx, "reverse leak: %s (%d) not found\n",
> +			       obj->ops->obj_name, obj->objref);
>  		return -EAGAIN;
>  	}
>  
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list