[Devel] [PATCH 04/12] checkpoint/memory.c ckpt_write_err->ckpt_err
serue at us.ibm.com
serue at us.ibm.com
Mon Nov 2 14:23:32 PST 2009
From: Serge E. Hallyn <serue at us.ibm.com>
Signed-off-by: Serge E. Hallyn <serue at us.ibm.com>
---
checkpoint/memory.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/checkpoint/memory.c b/checkpoint/memory.c
index 656614c..6cfd079 100644
--- a/checkpoint/memory.c
+++ b/checkpoint/memory.c
@@ -679,8 +679,8 @@ static int checkpoint_vmas(struct ckpt_ctx *ctx, struct mm_struct *mm)
vma->vm_start, vma->vm_end, vma->vm_flags);
if (vma->vm_flags & CKPT_VMA_NOT_SUPPORTED) {
- ckpt_write_err(ctx, "TE", "vma: bad flags (%#lx)\n",
- -ENOSYS, vma->vm_flags);
+ ckpt_err(ctx, "%(T)%(E)vma: bad flags (%#lx)\n",
+ -ENOSYS, vma->vm_flags);
ret = -ENOSYS;
break;
}
@@ -692,7 +692,7 @@ static int checkpoint_vmas(struct ckpt_ctx *ctx, struct mm_struct *mm)
else
ret = -ENOSYS;
if (ret < 0) {
- ckpt_write_err(ctx, "TE", "vma: failed", ret);
+ ckpt_err(ctx, "%(T)%(E)vma: failed\n", ret);
break;
}
/*
@@ -821,7 +821,7 @@ static int collect_mm(struct ckpt_ctx *ctx, struct mm_struct *mm)
if (mm->exe_file) {
ret = ckpt_collect_file(ctx, mm->exe_file);
if (ret < 0) {
- ckpt_write_err(ctx, "TE", "mm: collect exe_file", ret);
+ ckpt_err(ctx, "%(T)%(E)mm: collect exe_file\n", ret);
goto out;
}
}
@@ -831,7 +831,7 @@ static int collect_mm(struct ckpt_ctx *ctx, struct mm_struct *mm)
continue;
ret = ckpt_collect_file(ctx, file);
if (ret < 0) {
- ckpt_write_err(ctx, "TE", "mm: collect vm_file", ret);
+ ckpt_err(ctx, "%(T)%(E)mm: collect vm_file\n", ret);
break;
}
}
--
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