Imported Upstream version 1.6.7
[platform/upstream/cryptsetup.git] / src / utils_password.c
index 795ba59..541806c 100644 (file)
@@ -2,11 +2,12 @@
  * Password quality check wrapper
  *
  * Copyright (C) 2012, Red Hat, Inc. All rights reserved.
- * Copyright (C) 2012, Milan Broz
+ * Copyright (C) 2012-2014, Milan Broz
  *
  * 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
@@ -38,7 +39,7 @@ static int tools_check_pwquality(const char *password)
 
        r = pwquality_read_config(pwq, NULL, &auxerror);
        if (r) {
-               log_err(_("Cannot check passsword quality: %s\n"),
+               log_err(_("Cannot check password quality: %s\n"),
                        pwquality_strerror(NULL, 0, r, auxerror));
                pwquality_free_settings(pwq);
                return -EINVAL;