Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 2015 12:48:55 +0000 (UTC)
From:      Christian Brueffer <brueffer@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r284753 - stable/9/sbin/geom/class/eli
Message-ID:  <201506241248.t5OCmtg6027756@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506241248.t5OCmtg6027756>