Commit 42e19823 authored by Lennart Poettering's avatar Lennart Poettering
Browse files

cryptsetup: reword questions a little

parent eb8d87c1
......@@ -234,7 +234,7 @@ int main(int argc, char *argv[]) {
if (!key_file) {
char *text;
if (asprintf(&text, "Please enter passphrase for disk %s", argv[3]) < 0) {
if (asprintf(&text, "Please enter passphrase for disk %s!", argv[2]) < 0) {
log_error("Out of memory");
goto finish;
}
......@@ -250,7 +250,7 @@ int main(int argc, char *argv[]) {
if (opt_verify) {
char *password2 = NULL;
if (asprintf(&text, "Please enter passphrase for disk %s (verification)", argv[3]) < 0) {
if (asprintf(&text, "Please enter passphrase for disk %s! (verification)", argv[2]) < 0) {
log_error("Out of memory");
goto finish;
}
......
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