Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2015 00:24:34 +0000 (UTC)
From:      Christian Brueffer <brueffer@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r284250 - head/sbin/geom/class/eli
Message-ID:  <201506110024.t5B0OYEX074208@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brueffer
Date: Thu Jun 11 00:24:33 2015
New Revision: 284250
URL: https://svnweb.freebsd.org/changeset/base/284250

Log:
  Consistently use trailing whitespace in passphrase prompts.
  
  PR:		193496
  Submitted by:	Fabian Keil
  MFC after:	1 week

Modified:
  head/sbin/geom/class/eli/geom_eli.c

Modified: head/sbin/geom/class/eli/geom_eli.c
==============================================================================
--- head/sbin/geom/class/eli/geom_eli.c	Thu Jun 11 00:12:33 2015	(r284249)
+++ head/sbin/geom/class/eli/geom_eli.c	Thu Jun 11 00:24:33 2015	(r284250)
@@ -423,7 +423,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?201506110024.t5B0OYEX074208>