mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-19 23:00:18 +01:00
Unify integer format parameter in prompt.
There was only single occurence of the prompt message with %u. Let's use %d as anywhere else.
This commit is contained in:
committed by
Milan Broz
parent
e4bf1f91b9
commit
e19030915b
@@ -1067,7 +1067,7 @@ static int fill_keyslot_passwords(struct crypt_device *cd,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (snprintf(msg, sizeof(msg), _("Enter passphrase for key slot %u: "), ARG_INT32(OPT_KEY_SLOT_ID)) < 0)
|
if (snprintf(msg, sizeof(msg), _("Enter passphrase for key slot %d: "), ARG_INT32(OPT_KEY_SLOT_ID)) < 0)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
r = init_passphrase(kp, kp_size, cd, msg, ARG_INT32(OPT_KEY_SLOT_ID));
|
r = init_passphrase(kp, kp_size, cd, msg, ARG_INT32(OPT_KEY_SLOT_ID));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user