Merge branch 'upstream' into tizen
[platform/upstream/cryptsetup.git] / misc / keyslot_checker / chk_luks_keyslots.c
index 7a9b391..d05aad8 100644 (file)
@@ -16,7 +16,8 @@
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
- * version 2 as published by the Free Software Foundation.
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -60,7 +61,7 @@ const char *help =
 "            the threshold down to reduce misdetection. For values\n"
 "            larger than the default you need to adjust the threshold\n"
 "            up to retain sensitivity.\n"
-"  -v        Print found suspicuous sectors verbosely. \n"
+"  -v        Print found suspicious sectors verbosely. \n"
 "  -d        Print decimal addresses instead of hex ones.\n"
 "\n";
 
@@ -320,8 +321,8 @@ int main(int argc, char **argv)
        device = argv[optind];
 
        /* test whether we can open and read device */
-       /* This is neded as we are reading the actual data
-       * in the keyslots dirtectly from the LUKS container.
+       /* This is needed as we are reading the actual data
+       * in the keyslots directly from the LUKS container.
        */
        f_luks = open(device, O_RDONLY);
        if (f_luks == -1) {