Signed-off-by: Matt Helsley <[email protected]>
---
 simple/ckpt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/simple/ckpt.c b/simple/ckpt.c
index 50085f4..ec51510 100644
--- a/simple/ckpt.c
+++ b/simple/ckpt.c
@@ -40,7 +40,7 @@ int main(int argc, char *argv[])
        fprintf(file, "hello, world!\n");
        fflush(file);
 
-       ret = syscall(__NR_checkpoint, pid, STDOUT_FILENO, 1);
+       ret = syscall(__NR_checkpoint, pid, STDOUT_FILENO, CHECKPOINT_SUBTREE);
        if (ret < 0) {
                perror("checkpoint");
                exit(2);
-- 
1.5.6.3


_______________________________________________
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