From: Lennart Poettering Date: Tue, 16 Nov 2010 02:47:14 +0000 (+0100) Subject: cryptsetup: reword questions a little X-Git-Tag: v12~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42e19823e649e7f29fab93d47f14738996c743f9;p=systemd cryptsetup: reword questions a little --- diff --git a/src/cryptsetup.c b/src/cryptsetup.c index 5afac648..ee158023 100644 --- a/src/cryptsetup.c +++ b/src/cryptsetup.c @@ -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; }