mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-06 00:10:04 +01:00
Use 'cannot' instead of 'can not' in every message.
This commit is contained in:
committed by
Milan Broz
parent
50f5593ffc
commit
e8b9bfe44c
@@ -70,7 +70,7 @@ int verify_pbkdf_params(struct crypt_device *cd,
|
||||
return -EINVAL;
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -126,11 +126,11 @@ int verify_pbkdf_params(struct crypt_device *cd,
|
||||
r = -EINVAL;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user