summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrueffer <brueffer@FreeBSD.org>2015-06-11 00:24:33 +0000
committerbrueffer <brueffer@FreeBSD.org>2015-06-11 00:24:33 +0000
commit31d9c5b9e49d58d8ee2590127ee085fd9a97aabe (patch)
tree772b70e671ca01405e4c1b8ae5c025395211c201
parentbf58779d77e63be372cad52df9f7d0946c96e3d7 (diff)
downloadFreeBSD-src-31d9c5b9e49d58d8ee2590127ee085fd9a97aabe.zip
FreeBSD-src-31d9c5b9e49d58d8ee2590127ee085fd9a97aabe.tar.gz
Consistently use trailing whitespace in passphrase prompts.
PR: 193496 Submitted by: Fabian Keil MFC after: 1 week
-rw-r--r--sbin/geom/class/eli/geom_eli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/geom/class/eli/geom_eli.c b/sbin/geom/class/eli/geom_eli.c
index 7df4d90..502303d 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);
OpenPOWER on IntegriCloud