And fix previous comment once more... :)

This commit is contained in:
Milan Broz
2012-11-30 13:52:03 +01:00
parent eac953c6e4
commit 4f7262aa96
2 changed files with 2 additions and 2 deletions

View File

@@ -512,7 +512,7 @@ static int TCRYPT_init_hdr(struct crypt_device *cd,
break;
}
if (skipped == i || r == -ENOTSUP)
if ((skipped && skipped == i) || r == -ENOTSUP)
log_err(cd, _("Required kernel crypto interface not available.\n"
"Ensure you have algif_skcipher kernel module loaded.\n"));
if (r < 0)