Commit e8b9bfe4 authored by Ondrej Kozina's avatar Ondrej Kozina Committed by Milan Broz

Use 'cannot' instead of 'can not' in every message.

parent 50f5593f
...@@ -70,7 +70,7 @@ int verify_pbkdf_params(struct crypt_device *cd, ...@@ -70,7 +70,7 @@ int verify_pbkdf_params(struct crypt_device *cd,
return -EINVAL; return -EINVAL;
if (!pbkdf->time_ms && !(pbkdf->flags & CRYPT_PBKDF_NO_BENCHMARK)) { if (!pbkdf->time_ms && !(pbkdf->flags & CRYPT_PBKDF_NO_BENCHMARK)) {
log_err(cd, _("Requested PBKDF target time can not be zero.")); log_err(cd, _("Requested PBKDF target time cannot be zero."));
return -EINVAL; return -EINVAL;
} }
...@@ -126,11 +126,11 @@ int verify_pbkdf_params(struct crypt_device *cd, ...@@ -126,11 +126,11 @@ int verify_pbkdf_params(struct crypt_device *cd,
r = -EINVAL; r = -EINVAL;
} }
if (!pbkdf->max_memory_kb) { if (!pbkdf->max_memory_kb) {
log_err(cd, _("Requested maximum PBKDF memory can not be zero.")); log_err(cd, _("Requested maximum PBKDF memory cannot be zero."));
r = -EINVAL; r = -EINVAL;
} }
if (!pbkdf->parallel_threads) { if (!pbkdf->parallel_threads) {
log_err(cd, _("Requested PBKDF parallel threads can not be zero.")); log_err(cd, _("Requested PBKDF parallel threads cannot be zero."));
r = -EINVAL; r = -EINVAL;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment