Blob Blame History Raw
diff -ru tpm2.0-tools-2.1.0-orig/tools/main.c tpm2.0-tools-2.1.0/tools/main.c
--- tpm2.0-tools-2.1.0-orig/tools/main.c	2017-07-31 14:26:37.436505592 +0800
+++ tpm2.0-tools-2.1.0/tools/main.c	2017-07-31 14:27:12.999707128 +0800
@@ -61,7 +61,7 @@
         execute_man (argv[0], envp);
         fprintf (stderr,
                  "failed to load manpage, check your environment / PATH\n");
-        /* no break */
+        exit (1);
     case 2:
         exit (1);
     }
diff -ru tpm2.0-tools-2.1.0-orig/tools/tpm2_dump_capability.c tpm2.0-tools-2.1.0/tools/tpm2_dump_capability.c
--- tpm2.0-tools-2.1.0-orig/tools/tpm2_dump_capability.c	2017-07-31 14:26:37.436505592 +0800
+++ tpm2.0-tools-2.1.0/tools/tpm2_dump_capability.c	2017-07-31 14:29:30.831488212 +0800
@@ -595,7 +595,7 @@
     case TPM_CAP_COMMANDS:
         dump_command_attr_array (capabilities->command.commandAttributes,
                                  capabilities->command.count);
-        /* no break */
+        break; 
     default:
         return 1;
     }