From 2de048bb1728e5c2cf98dcefd0aa1b08e8355836 Mon Sep 17 00:00:00 2001 From: Christian Brueffer Date: Wed, 24 Jun 2015 12:21:25 +0000 Subject: [PATCH] MFH: r284250 Consistently use trailing whitespace in passphrase prompts. PR: 193496 Submitted by: Fabian Keil --- sbin/geom/class/eli/geom_eli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/geom/class/eli/geom_eli.c b/sbin/geom/class/eli/geom_eli.c index 3eee6f249b54..27dc58388ffe 100644 --- a/sbin/geom/class/eli/geom_eli.c +++ b/sbin/geom/class/eli/geom_eli.c @@ -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);