Re: [PATCH] Use the CHECKPOINT_SUBTREE definition from cr.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  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
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux