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