first two args to ckpt_write_err() were switched Signed-off-by: Serge E. Hallyn <serue@xxxxxxxxxx> --- 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; } -- 1.6.1 _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers