[PATCH] Fix compile without CLONE_NEWPID

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

 



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

Signed-off-by: Matt Helsley <matthltc@xxxxxxxxxx>
---
 restart.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/restart.c b/restart.c
index c3f4349..e6e72ac 100644
--- a/restart.c
+++ b/restart.c
@@ -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);
-- 
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