summaryrefslogtreecommitdiffstats
path: root/sbin/init/init.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-10-10 12:14:48 +0000
committerpeter <peter@FreeBSD.org>1997-10-10 12:14:48 +0000
commit0e8d0ba0f2fa14715fef666326c30f0aab447fbf (patch)
treede6764a11a69c94f5ac2fe60ae0bdbc99167d669 /sbin/init/init.c
parent7fdb874d2ef5d2fb35ef6ba150b9e371c31e4fd0 (diff)
downloadFreeBSD-src-0e8d0ba0f2fa14715fef666326c30f0aab447fbf.zip
FreeBSD-src-0e8d0ba0f2fa14715fef666326c30f0aab447fbf.tar.gz
This has always bugged me. At single user, the implied example it gives
is not valid - it says that "sh" is the default, but you can't actually type "sh" at this prompt - it has to be /bin/sh or some other full pathname.
Diffstat (limited to 'sbin/init/init.c')
-rw-r--r--sbin/init/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/init/init.c b/sbin/init/init.c
index 6411a3f..b47ad0f 100644
--- a/sbin/init/init.c
+++ b/sbin/init/init.c
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: init.c,v 1.26 1997/08/06 16:34:51 ache Exp $
+ * $Id: init.c,v 1.27 1997/08/18 01:40:12 davidn Exp $
*/
#ifndef lint
@@ -634,7 +634,7 @@ single_user()
int num;
#define SHREQUEST \
- "Enter pathname of shell or RETURN for sh: "
+ "Enter full pathname of shell or RETURN for " _PATH_BSHELL ": "
(void)write(STDERR_FILENO,
SHREQUEST, sizeof(SHREQUEST) - 1);
while ((num = read(STDIN_FILENO, cp, 1)) != -1 &&
OpenPOWER on IntegriCloud