From: Serge E. Hallyn <[email protected]>

Signed-off-by: Serge E. Hallyn <[email protected]>
---
 checkpoint/sys.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/checkpoint/sys.c b/checkpoint/sys.c
index c1c4e99..d64f5a7 100644
--- a/checkpoint/sys.c
+++ b/checkpoint/sys.c
@@ -471,6 +471,8 @@ static void _ckpt_msg_appendv(struct ckpt_ctx *ctx, int 
err, char *fmt,
                        goto full;
        }
 
+       len += snprintf(&ctx->msg[len], CKPT_MSG_LEN-len, "[offset %lld]",
+                       ctx->total);
        len += vsnprintf(&ctx->msg[len], CKPT_MSG_LEN-len, fmt, ap);
        if (len > CKPT_MSG_LEN) {
 full:
-- 
1.6.1

_______________________________________________
Containers mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to