All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] objhash: fix syntax error
@ 2009-08-07  2:00 Serge E. Hallyn
       [not found] ` <20090807020052.GA21216-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Serge E. Hallyn @ 2009-08-07  2:00 UTC (permalink / raw)
  To: Oren Laadan; +Cc: Linux Containers

first two args to ckpt_write_err() were switched

Signed-off-by: Serge E. Hallyn <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-12  6:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-07  2:00 [PATCH] objhash: fix syntax error Serge E. Hallyn
     [not found] ` <20090807020052.GA21216-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-08-12  6:11   ` Oren Laadan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.