[dm-devel] [PATCH 08/16] multipathd: Add envp variable

Benjamin Marzinski bmarzins at redhat.com
Wed Dec 11 06:53:29 UTC 2013


On Wed, Dec 11, 2013 at 12:43:02AM -0600, Benjamin Marzinski wrote:

I just thought I'd get in on the fun too.

Oops.

-Ben

> A missing variable declaration was keeping multipathd from compiling.
> 
> Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
> ---
>  multipathd/main.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/multipathd/main.c b/multipathd/main.c
> index c388e42..204fbb1 100644
> --- a/multipathd/main.c
> +++ b/multipathd/main.c
> @@ -1617,6 +1617,7 @@ child (void * param)
>  	struct multipath * mpp;
>  	int i;
>  	int rc, pid_rc;
> +	char *envp;
>  
>  	mlockall(MCL_CURRENT | MCL_FUTURE);
>  	sem_init(&exit_sem, 0, 0);
> -- 
> 1.8.4.2
> 
> --
> dm-devel mailing list
> dm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel




More information about the dm-devel mailing list