svn commit: r284753 - stable/9/sbin/geom/class/eli

Christian Brueffer brueffer at FreeBSD.org
Wed Jun 24 12:48:56 UTC 2015


Author: brueffer
Date: Wed Jun 24 12:48:55 2015
New Revision: 284753
URL: https://svnweb.freebsd.org/changeset/base/284753

Log:
  MFH: r284250
  
  Consistently use trailing whitespace in passphrase prompts.
  
  PR:        193496
  Submitted by:    Fabian Keil

Modified:
  stable/9/sbin/geom/class/eli/geom_eli.c
Directory Properties:
  stable/9/sbin/geom/class/eli/   (props changed)

Modified: stable/9/sbin/geom/class/eli/geom_eli.c
==============================================================================
--- stable/9/sbin/geom/class/eli/geom_eli.c	Wed Jun 24 12:21:25 2015	(r284752)
+++ stable/9/sbin/geom/class/eli/geom_eli.c	Wed Jun 24 12:48:55 2015	(r284753)
@@ -430,7 +430,7 @@ eli_genkey_passphrase_prompt(struct gctl
 
 	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);


More information about the svn-src-stable-9 mailing list