[Devel] [ckpt_msg][PATCH 1/1] c/r: Fix trivial bug in ckpt_msg macro

Christoffer Dall christofferdall at christofferdall.dk
Sun Mar 21 16:24:46 PDT 2010


Fixing the typo "ftm->fmt" in checkpoint/restart log macro.

Signed-off-by: Christoffer Dall <christofferdall at christofferdall.dk>
---
 include/linux/checkpoint.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/checkpoint.h b/include/linux/checkpoint.h
index 792b523..4f25992 100644
--- a/include/linux/checkpoint.h
+++ b/include/linux/checkpoint.h
@@ -443,7 +443,7 @@ extern void _ckpt_msg_complete(struct ckpt_ctx *ctx);
  * Must be called with ckpt_msg_lock held.
  */
 #define _ckpt_msg(ctx, fmt, args...) do {	\
-	_do_ckpt_msg(ctx, 0, ftm, ##args);	\
+	_do_ckpt_msg(ctx, 0, fmt, ##args);	\
 } while (0)
 
 /*
@@ -456,7 +456,7 @@ extern void _ckpt_msg_complete(struct ckpt_ctx *ctx);
  * Must not be called under spinlock.
  */
 #define ckpt_msg(ctx, fmt, args...) do {	\
-	do_ckpt_msg(ctx, 0, ftm, ##args);	\
+	do_ckpt_msg(ctx, 0, fmt, ##args);	\
 } while (0)
 
 /*
-- 
1.5.6.5

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list