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

Chauhan, Vijay Vijay.Chauhan at netapp.com
Tue Mar 6 15:10:15 UTC 2012


Adding missing implementation for hex output(-H).

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






More information about the dm-devel mailing list