Skip to contentSkip to conversation

Use the CHECKPOINT_SUBTREE definition from cr.h

PATCH In review Matt Helsley 1 participant 2 messages Aug 4, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Use the CHECKPOINT_SUBTREE definition from cr.h

---
 simple/ckpt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
simple/ckpt.c +1 -1
index 50085f4..ec51510 100644
@@ -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

A message that is not in the archive (sent off-list or not yet received): 1249429388-12900-2-git-send-email-matthltc-r/[email protected]

#2 lore raw

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

Quoted 22 lines · Matt Helsley
---
 simple/ckpt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
simple/ckpt.c +1 -1
index 50085f4..ec51510 100644
@@ -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