summaryrefslogtreecommitdiffstats
path: root/pw/pw_user.c
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
commit4a60f2e3e06fbc3f19239b4779a716797718301d (patch)
treeb75cec7375249a1d38ad0bd5a2fc85ea17d94d68 /pw/pw_user.c
parent7c66dac64c5d32814b6de588cdc1d2ac8aa24f8c (diff)
downloadpw-darwin-4a60f2e3e06fbc3f19239b4779a716797718301d.tar.gz
pw-darwin-4a60f2e3e06fbc3f19239b4779a716797718301d.tar.zst
pw-darwin-4a60f2e3e06fbc3f19239b4779a716797718301d.zip
Fix -p switch.
Diffstat (limited to 'pw/pw_user.c')
-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)