FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 03-06-2012, 02:10 PM
"Chauhan, Vijay"
 
Default multipath-tools: Implementation for hex output (-H) for mpathpersist

Adding missing implementation for hex output(-H).

Signed-off-by: Vijay Chauhan <vijay.chauhan@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@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 
Old 03-07-2012, 08:32 PM
Christophe Varoqui
 
Default multipath-tools: Implementation for hex output (-H) for mpathpersist

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@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@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel



--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 

Thread Tools




All times are GMT. The time now is 04:25 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org