[dm-devel] [PATCH]multipath-tools: Implementation for hex output (-H) for mpathpersist

Christophe Varoqui christophe.varoqui at gmail.com
Wed Mar 7 21:32:43 UTC 2012


On mar., 2012-03-06 at 15:10 +0000, Chauhan, Vijay wrote:
> Adding missing implementation for hex output(-H).
> 
Applied.

> Signed-off-by: Vijay Chauhan <vijay.chauhan at netapp.com>
> 
> ---
> diff -uprN multipath-tools.orig/mpathpersist/main.c multipath-tools/mpathpersist/main.c
> --- multipath-tools.orig/mpathpersist/main.c	2012-03-04 02:16:55.000000000 -0500
> +++ multipath-tools/mpathpersist/main.c	2012-03-05 01:23:07.000000000 -0500
> @@ -260,7 +260,7 @@ int main (int argc, char * argv[])
>  	}
>  
>  	/* set verbosity */
> -	noisy = (loglevel >= 3) ? 1: 0;
> +	noisy = (loglevel >= 3) ? 1 : hex;
>  	verbose	= (loglevel >= 3)? 3: loglevel;
>  
>  	if ((prout_flag + prin_flag) == 0)
> --
> 
> 
> 
> --
> 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