[Devel] [PATCH 05/17] ckpt_write_err update checkpoint/memory.c
serue at us.ibm.com
serue at us.ibm.com
Thu Oct 29 13:54:30 PDT 2009
From: Serge E. Hallyn <serue at us.ibm.com>
Signed-off-by: Serge E. Hallyn <serue at us.ibm.com>
---
checkpoint/memory.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/checkpoint/memory.c b/checkpoint/memory.c
index 656614c..c94a85e 100644
--- a/checkpoint/memory.c
+++ b/checkpoint/memory.c
@@ -679,7 +679,7 @@ 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",
+ ckpt_write_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_write_err(ctx, "%(T)%(E)vma: failed", 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_write_err(ctx, "%(T)%(E)mm: collect exe_file", 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_write_err(ctx, "%(T)%(E)mm: collect vm_file", 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