[Devel] [PATCH] objhash: fix syntax error

Serge E. Hallyn serue at us.ibm.com
Thu Aug 6 19:00:52 PDT 2009


first two args to ckpt_write_err() were switched

Signed-off-by: Serge E. Hallyn <serue at us.ibm.com>
---
 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 at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list