Use the CHECKPOINT_SUBTREE definition from cr.h
PATCH 1/1 Use the CHECKPOINT_SUBTREE definition from cr.h
Signed-off-by Matt Helsley <matthltc-r/[email protected]>
--- simple/ckpt.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
simple/ckpt.c +1 -1
@@ -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 );
Signature · 1 line
1.5.6.3
This is for cr_tests. Sorry I forgot to call that out before sending :(.
Quoted 22 lines · Matt Helsley
Signed-off-by Matt Helsley <matthltc-r/[email protected]>--- simple/ckpt.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)simple/ckpt.c +1
-1@@ -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 );Signature · 1 line
1.5.6.3