Skip to content

Commit

Permalink
Consistently use trailing whitespace in passphrase prompts.
Browse files Browse the repository at this point in the history
PR:		193496
Submitted by:	Fabian Keil
MFC after:	1 week
  • Loading branch information
cbrueffer committed Jun 11, 2015
1 parent bf58779 commit 31d9c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbin/geom/class/eli/geom_eli.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ eli_genkey_passphrase_prompt(struct gctl_req *req, bool new, char *passbuf,

for (;;) {
p = readpassphrase(
new ? "Enter new passphrase:" : "Enter passphrase:",
new ? "Enter new passphrase: " : "Enter passphrase: ",
passbuf, passbufsize, RPP_ECHO_OFF | RPP_REQUIRE_TTY);
if (p == NULL) {
bzero(passbuf, passbufsize);
Expand Down

0 comments on commit 31d9c5b

Please sign in to comment.