summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-16 03:47:14 +0100
committerLennart Poettering <lennart@poettering.net>2010-11-16 03:47:14 +0100
commit42e19823e649e7f29fab93d47f14738996c743f9 (patch)
treefbd9b3ea60d5597a11c6e7e925b9133fd67e6feb
parenteb8d87c12540b96a1e1935498e9a6f8ff2f2dd61 (diff)
cryptsetup: reword questions a little
-rw-r--r--src/cryptsetup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptsetup.c b/src/cryptsetup.c
index 5afac6482f..ee15802365 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;
}