multipath-tools: Implementation for hex output (-H) for mpathpersist
authorChauhan, Vijay <Vijay.Chauhan@netapp.com>
Tue, 6 Mar 2012 15:10:15 +0000 (15:10 +0000)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Wed, 7 Mar 2012 21:31:09 +0000 (22:31 +0100)
Adding missing implementation for hex output(-H).

Signed-off-by: Vijay Chauhan <vijay.chauhan@netapp.com>
mpathpersist/main.c

index 0e21ec2ecf28bde491092825fc1cc283d0dd63bd..079080c2e9bae1101f9e6bfe5a5fd27002c7bbfe 100644 (file)
@@ -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)