=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/passwd/passwd.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -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 +1,4 @@ -/* $OpenBSD: passwd.c,v 1.8 2000/05/19 02:14:31 ericj Exp $ */ +/* $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,7 +41,7 @@ #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 $"; +static char rcsid[] = "$OpenBSD: passwd.c,v 1.9 2000/12/12 02:19:58 millert Exp $"; #endif /* not lint */ #include @@ -66,7 +66,7 @@ #endif -extern int local_passwd(char *); +extern int local_passwd(char *, int); extern int yp_passwd(char *); extern int krb_passwd(int, char **); void usage(int value); @@ -160,11 +160,11 @@ #endif #ifdef YP - if (force_yp || ((status = local_passwd(username)) && use_yp)) + if (force_yp || ((status = local_passwd(username, 0)) && use_yp)) exit(yp_passwd(username)); exit(status); #endif - exit(local_passwd(username)); + exit(local_passwd(username, 0)); } void