From 4a60f2e3e06fbc3f19239b4779a716797718301d Mon Sep 17 00:00:00 2001 From: David Nugent Date: Fri, 1 Aug 1997 15:06:21 +0000 Subject: Fix -p switch. --- pw/pw_user.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pw/pw_user.c') diff --git a/pw/pw_user.c b/pw/pw_user.c index b7f146d..652a21b 100644 --- a/pw/pw_user.c +++ b/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 @@ -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) -- cgit v1.2.3-56-ge451