From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oren Laadan Subject: Re: [PATCH] user-cr: Fix compile without CLONE_NEWPID Date: Wed, 14 Oct 2009 18:12:58 -0400 Message-ID: <4AD64CEA.3050700@librato.com> References: <1254883910-8472-1-git-send-email-matthltc@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1254883910-8472-1-git-send-email-matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Matt Helsley Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: containers.vger.kernel.org Pulled, thanks. Matt Helsley wrote: > If CLONE_NEWPID is not defined the compile breaks because the parameter > list for this stub was not updated. > > Signed-off-by: Matt Helsley > > Note: Same patch was sent earlier without a To: field. Sorry for all the > noise. > --- > 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);