hammer2 - Add extra debugging
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 28 Feb 2015 18:06:14 +0000 (10:06 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 28 Feb 2015 18:06:14 +0000 (10:06 -0800)
* Enable DMsgDebugOpt if -d is specified twice.

sbin/hammer2/main.c

index eaace8b..dcb9eaf 100644 (file)
@@ -68,6 +68,8 @@ main(int ac, char **av)
                        all_opt = 1;
                        break;
                case 'd':
+                       if (DebugOpt)
+                               DMsgDebugOpt = 1;
                        DebugOpt = 1;
                        break;
                case 'f':