Skip to contentSkip to conversation

Fix compile without CLONE_NEWPID

PATCH New Matt Helsley 1 participant 1 message Oct 7, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix compile without CLONE_NEWPID

If CLONE_NEWPID is not defined the compile breaks because the parameter list for this stub was not updated.

---
 restart.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
restart.c +1 -1
index c3f4349..e6e72ac 100644
@@ -894,7 +894,7 @@ static int ckpt_coordinator_pidns(struct ckpt_ctx *ctx)
 		return 0;
 }
 #else
-static int ckpt_coordinator_pidns(struct ckpt_ctx *ctx, int *status)
+static int ckpt_coordinator_pidns(struct ckpt_ctx *ctx)
 {
 	printf("logical error: ckpt_coordinator_pidns unexpected\n");
 	exit(1);
Signature · 1 line
1.5.6.3