summaryrefslogtreecommitdiff
path: root/libexec/rpc.yppasswdd
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-04-20 23:21:24 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-04-20 23:21:24 +0000
commit8db2b678974619797ec0d47670dc966ac139aad7 (patch)
tree79d137f6b429a414544d16fd2766f9ded60886ed /libexec/rpc.yppasswdd
parenta4ccbe5bc7e8df106f798254306616fb80e6922f (diff)
Adapt to new pw_copy() API, closes PR 3698.
Diffstat (limited to 'libexec/rpc.yppasswdd')
-rw-r--r--libexec/rpc.yppasswdd/yppasswdd_mkpw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/rpc.yppasswdd/yppasswdd_mkpw.c b/libexec/rpc.yppasswdd/yppasswdd_mkpw.c
index 46e80881d03..20083ac0069 100644
--- a/libexec/rpc.yppasswdd/yppasswdd_mkpw.c
+++ b/libexec/rpc.yppasswdd/yppasswdd_mkpw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: yppasswdd_mkpw.c,v 1.26 2003/07/06 21:57:27 deraadt Exp $ */
+/* $OpenBSD: yppasswdd_mkpw.c,v 1.27 2004/04/20 23:21:23 millert Exp $ */
/*
* Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
@@ -27,7 +27,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: yppasswdd_mkpw.c,v 1.26 2003/07/06 21:57:27 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: yppasswdd_mkpw.c,v 1.27 2004/04/20 23:21:23 millert Exp $";
#endif
#include <sys/param.h>
@@ -221,7 +221,7 @@ make_passwd(yppasswd *argp)
if (tfd < 0)
goto fail;
- pw_copy(pfd, tfd, &pw);
+ pw_copy(pfd, tfd, &pw, NULL);
pw_mkdb(pw.pw_name, 0);
free(bp);