Rephrase UUID error message forc cryptsetup-reencrypt.

This commit is contained in:
Milan Broz
2016-10-20 14:10:29 +02:00
parent 7f9e33ca1e
commit a3ee8f9cb8
2 changed files with 6 additions and 4 deletions

View File

@@ -973,7 +973,7 @@ static int initialize_uuid(struct reenc_ctx *rc)
if (!r)
rc->device_uuid = strdup(opt_uuid);
else
log_err(_("Passed UUID is invalid.\n"));
log_err(_("Provided UUID is invalid.\n"));
return r;
}
@@ -1175,7 +1175,8 @@ static int initialize_context(struct reenc_ctx *rc, const char *device)
if (!rc->in_progress) {
if (opt_uuid) {
log_err(_("Cannot use passed UUID unless decryption in progress.\n"));
log_err(_("No decryption in progress, provided UUID can "
"be used only to resume suspended decryption process.\n"));
return -EINVAL;
}