summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pw
diff options
context:
space:
mode:
authordavidn <davidn@FreeBSD.org>1997-08-01 15:06:21 +0000
committerdavidn <davidn@FreeBSD.org>1997-08-01 15:06:21 +0000
commit62d9b4dbb4eae384bf03d97bd00502ca55c46e0c (patch)
tree02c528882bc14f325a88937ae4eaea9a9fe4837b /usr.sbin/pw
parent2a200c9684e54dae084d85b919f1d04efa2b4bbd (diff)
downloadFreeBSD-src-62d9b4dbb4eae384bf03d97bd00502ca55c46e0c.zip
FreeBSD-src-62d9b4dbb4eae384bf03d97bd00502ca55c46e0c.tar.gz
Fix -p switch.
Diffstat (limited to 'usr.sbin/pw')
-rw-r--r--usr.sbin/pw/pw_user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pw/pw_user.c b/usr.sbin/pw/pw_user.c
index b7f146d..652a21b 100644
--- a/usr.sbin/pw/pw_user.c
+++ b/usr.sbin/pw/pw_user.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: pw_user.c,v 1.20 1997/05/24 10:41:49 davidn Exp $
+ * $Id: pw_user.c,v 1.21 1997/06/14 00:23:49 ache Exp $
*/
#include <unistd.h>
@@ -732,7 +732,7 @@ pw_pwdpolicy(struct userconf * cnf, struct cargs * args)
{
time_t result = 0;
time_t now = time(NULL);
- struct carg *arg = getarg(args, 'e');
+ struct carg *arg = getarg(args, 'p');
if (arg != NULL) {
if ((result = parse_date(now, arg->val)) == now)
OpenPOWER on IntegriCloud