All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] user-cr: Fix compile without CLONE_NEWPID
@ 2009-10-07  2:51 Matt Helsley
       [not found] ` <1254883910-8472-1-git-send-email-matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Helsley @ 2009-10-07  2:51 UTC (permalink / raw)
  To: Oren Laadan; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA

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-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>

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);
-- 
1.5.6.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] user-cr: Fix compile without CLONE_NEWPID
       [not found] ` <1254883910-8472-1-git-send-email-matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
@ 2009-10-14 22:12   ` Oren Laadan
  0 siblings, 0 replies; 2+ messages in thread
From: Oren Laadan @ 2009-10-14 22:12 UTC (permalink / raw)
  To: Matt Helsley; +Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA


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 <matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
> 
> 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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-14 22:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-07  2:51 [PATCH] user-cr: Fix compile without CLONE_NEWPID Matt Helsley
     [not found] ` <1254883910-8472-1-git-send-email-matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-10-14 22:12   ` Oren Laadan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.