summaryrefslogtreecommitdiffstats
path: root/pw
diff options
context:
space:
mode:
authorDavid Nugent <davidn@FreeBSD.org>1997-08-01 15:06:21 +0000
committerDavid Nugent <davidn@FreeBSD.org>1997-08-01 15:06:21 +0000
commit6cb59eb40218f6f9f9125e1da40e09387554aa21 (patch)
treeff35e087d4b05b9f937735fab649705c066bdab1 /pw
parent2d80d72e8af41f6573e7564768a75dafee4c4688 (diff)
downloadpw-darwin-6cb59eb40218f6f9f9125e1da40e09387554aa21.tar.gz
pw-darwin-6cb59eb40218f6f9f9125e1da40e09387554aa21.tar.zst
pw-darwin-6cb59eb40218f6f9f9125e1da40e09387554aa21.zip
Fix -p switch.
Diffstat (limited to 'pw')
-rw-r--r--pw/pw_user.c4
1 files changed, 2 insertions, 2 deletions
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 <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)