=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/chpass/chpass.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- src/usr.bin/chpass/chpass.c 2001/08/16 16:14:35 1.18 +++ src/usr.bin/chpass/chpass.c 2001/08/16 18:29:27 1.19 @@ -1,4 +1,4 @@ -/* $OpenBSD: chpass.c,v 1.18 2001/08/16 16:14:35 millert Exp $ */ +/* $OpenBSD: chpass.c,v 1.19 2001/08/16 18:29:27 millert Exp $ */ /* $NetBSD: chpass.c,v 1.8 1996/05/15 21:50:43 jtc Exp $ */ /*- @@ -44,7 +44,7 @@ #if 0 static char sccsid[] = "@(#)chpass.c 8.4 (Berkeley) 4/2/94"; #else -static char rcsid[] = "$OpenBSD: chpass.c,v 1.18 2001/08/16 16:14:35 millert Exp $"; +static char rcsid[] = "$OpenBSD: chpass.c,v 1.19 2001/08/16 18:29:27 millert Exp $"; #endif #endif /* not lint */ @@ -257,7 +257,7 @@ pw_copy(pfd, tfd, pw); /* Now finish the passwd file update. */ - if (pw_mkdb(pw->pw_name) == -1) + if (pw_mkdb(pw->pw_name, 0) == -1) pw_error(NULL, 0, 1); }