[PATCH] Use the CHECKPOINT_SUBTREE definition from cr.h

Matt Helsley matthltc at us.ibm.com
Tue Aug 4 16:45:22 PDT 2009


This is for cr_tests. Sorry I forgot to call that out before sending :(.

On Tue, Aug 04, 2009 at 04:43:09PM -0700, Matt Helsley wrote:
> Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
> ---
>  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
> 
> 


More information about the Containers mailing list