=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/passwd/passwd.c,v retrieving revision 1.8 retrieving revision 1.9 diff -c -r1.8 -r1.9 *** src/usr.bin/passwd/passwd.c 2000/05/19 02:14:31 1.8 --- src/usr.bin/passwd/passwd.c 2000/12/12 02:19:58 1.9 *************** *** 1,4 **** ! /* $OpenBSD: passwd.c,v 1.8 2000/05/19 02:14:31 ericj Exp $ */ /* * Copyright (c) 1988 The Regents of the University of California. --- 1,4 ---- ! /* $OpenBSD: passwd.c,v 1.9 2000/12/12 02:19:58 millert Exp $ */ /* * Copyright (c) 1988 The Regents of the University of California. *************** *** 41,47 **** #ifndef lint /*static char sccsid[] = "from: @(#)passwd.c 5.5 (Berkeley) 7/6/91";*/ ! static char rcsid[] = "$OpenBSD: passwd.c,v 1.8 2000/05/19 02:14:31 ericj Exp $"; #endif /* not lint */ #include --- 41,47 ---- #ifndef lint /*static char sccsid[] = "from: @(#)passwd.c 5.5 (Berkeley) 7/6/91";*/ ! static char rcsid[] = "$OpenBSD: passwd.c,v 1.9 2000/12/12 02:19:58 millert Exp $"; #endif /* not lint */ #include *************** *** 66,72 **** #endif ! extern int local_passwd(char *); extern int yp_passwd(char *); extern int krb_passwd(int, char **); void usage(int value); --- 66,72 ---- #endif ! extern int local_passwd(char *, int); extern int yp_passwd(char *); extern int krb_passwd(int, char **); void usage(int value); *************** *** 160,170 **** #endif #ifdef YP ! if (force_yp || ((status = local_passwd(username)) && use_yp)) exit(yp_passwd(username)); exit(status); #endif ! exit(local_passwd(username)); } void --- 160,170 ---- #endif #ifdef YP ! if (force_yp || ((status = local_passwd(username, 0)) && use_yp)) exit(yp_passwd(username)); exit(status); #endif ! exit(local_passwd(username, 0)); } void