summaryrefslogtreecommitdiff
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2012-06-20 21:32:28 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2012-06-20 21:32:28 +0000
commitf64758703c5989d51b07e5a117724022503f5053 (patch)
treea33ff49f6b1669e0d64fd7d60688456e6d798d01 /usr.bin/chpass
parent44e5a115157d78252965d2813354afe3c570a2b2 (diff)
Correct English just like jsing@ did it in passwd/local_passwd.c rev. 1.38
on April 27, 2008. While here, fix a typo and drop an obsolete BUGS section. "my typo so OK millert@ :-)" and OK jmc@
Diffstat (limited to 'usr.bin/chpass')
-rw-r--r--usr.bin/chpass/chpass.18
-rw-r--r--usr.bin/chpass/chpass.c4
2 files changed, 5 insertions, 7 deletions
diff --git a/usr.bin/chpass/chpass.1 b/usr.bin/chpass/chpass.1
index b946067af1d..b5e464fb674 100644
--- a/usr.bin/chpass/chpass.1
+++ b/usr.bin/chpass/chpass.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chpass.1,v 1.36 2012/06/19 10:53:40 jmc Exp $
+.\" $OpenBSD: chpass.1,v 1.37 2012/06/20 21:32:27 schwarze Exp $
.\" $NetBSD: chpass.1,v 1.7 1996/05/15 21:50:40 jtc Exp $
.\"
.\" Copyright (c) 1988, 1990, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)chpass.1 8.2 (Berkeley) 12/30/93
.\"
-.Dd $Mdocdate: June 19 2012 $
+.Dd $Mdocdate: June 20 2012 $
.Dt CHPASS 1
.Os
.Sh NAME
@@ -240,7 +240,7 @@ temporary copy of the user passwd information
.El
.Sh DIAGNOSTICS
.Bl -diag
-.It "Attempting lock password file, please wait or press ^C to abort"
+.It "Attempting to lock password file, please wait or press ^C to abort"
.Pp
The password file is currently locked by another process;
.Nm
@@ -283,5 +283,3 @@ The
.Nm
command appeared in
.Bx 4.3 Reno .
-.Sh BUGS
-User information should (and eventually will) be stored elsewhere.
diff --git a/usr.bin/chpass/chpass.c b/usr.bin/chpass/chpass.c
index dd32cb4c86d..516ef7d5e27 100644
--- a/usr.bin/chpass/chpass.c
+++ b/usr.bin/chpass/chpass.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: chpass.c,v 1.37 2009/10/27 23:59:36 deraadt Exp $ */
+/* $OpenBSD: chpass.c,v 1.38 2012/06/20 21:32:27 schwarze Exp $ */
/* $NetBSD: chpass.c,v 1.8 1996/05/15 21:50:43 jtc Exp $ */
/*-
@@ -206,7 +206,7 @@ main(int argc, char *argv[])
pw_init();
for (i = 1; (tfd = pw_lock(0)) == -1; i++) {
if (i == 4)
- (void)fputs("Attempting lock password file, "
+ (void)fputs("Attempting to lock password file, "
"please wait or press ^C to abort", stderr);
(void)signal(SIGINT, kbintr);
if (i % 16 == 0)