mirror of
https://github.com/systemd/systemd.git
synced 2025-01-26 14:04:03 +03:00
cryptsetup: reword questions a little
This commit is contained in:
parent
eb8d87c125
commit
42e19823e6
@ -234,7 +234,7 @@ int main(int argc, char *argv[]) {
|
|||||||
if (!key_file) {
|
if (!key_file) {
|
||||||
char *text;
|
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");
|
log_error("Out of memory");
|
||||||
goto finish;
|
goto finish;
|
||||||
}
|
}
|
||||||
@ -250,7 +250,7 @@ int main(int argc, char *argv[]) {
|
|||||||
if (opt_verify) {
|
if (opt_verify) {
|
||||||
char *password2 = NULL;
|
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");
|
log_error("Out of memory");
|
||||||
goto finish;
|
goto finish;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user