[Devel] [PATCH 06/12] checkpoint/process.c ckpt_write_err->ckpt_err
serue at us.ibm.com
serue at us.ibm.com
Mon Nov 2 14:23:34 PST 2009
From: Serge E. Hallyn <serue at us.ibm.com>
Signed-off-by: Serge E. Hallyn <serue at us.ibm.com>
---
checkpoint/process.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/checkpoint/process.c b/checkpoint/process.c
index 8e4a823..2c65e77 100644
--- a/checkpoint/process.c
+++ b/checkpoint/process.c
@@ -256,21 +256,21 @@ static int checkpoint_task_objs(struct ckpt_ctx *ctx, struct task_struct *t)
files_objref = checkpoint_obj_file_table(ctx, t);
ckpt_debug("files: objref %d\n", files_objref);
if (files_objref < 0) {
- ckpt_write_err(ctx, "TE", "files_struct", files_objref);
+ ckpt_err(ctx, "%(T)%(E)files_struct\n", files_objref);
return files_objref;
}
mm_objref = checkpoint_obj_mm(ctx, t);
ckpt_debug("mm: objref %d\n", mm_objref);
if (mm_objref < 0) {
- ckpt_write_err(ctx, "TE", "mm_struct", mm_objref);
+ ckpt_err(ctx, "%(T)%(E)mm_struct\n", mm_objref);
return mm_objref;
}
sighand_objref = checkpoint_obj_sighand(ctx, t);
ckpt_debug("sighand: objref %d\n", sighand_objref);
if (sighand_objref < 0) {
- ckpt_write_err(ctx, "TE", "sighand_struct", sighand_objref);
+ ckpt_err(ctx, "%(T)%(E)sighand_struct\n", sighand_objref);
return sighand_objref;
}
@@ -303,7 +303,7 @@ static int checkpoint_task_objs(struct ckpt_ctx *ctx, struct task_struct *t)
if (first)
ret = checkpoint_obj_signal(ctx, t);
if (ret < 0)
- ckpt_write_err(ctx, "TE", "signal_struct", ret);
+ ckpt_err(ctx, "%(T)%(E)signal_struct\n", ret);
return ret;
}
--
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