diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-05-29 16:37:52 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-05-29 16:37:52 +0000 |
commit | f2eb11a8ba5024befa247910ad5377d6d13e7494 (patch) | |
tree | b7d4ed1d451833c72a98e2308254c32283af5da0 /usr.bin/chpass/chpass.c | |
parent | c1446f42e9d4c3e179ab13cd544a32d7bd3c6d30 (diff) |
put temp file _PATH_VARTMP
Diffstat (limited to 'usr.bin/chpass/chpass.c')
-rw-r--r-- | usr.bin/chpass/chpass.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/chpass/chpass.c b/usr.bin/chpass/chpass.c index 8c77a86172c..7c61529880d 100644 --- a/usr.bin/chpass/chpass.c +++ b/usr.bin/chpass/chpass.c @@ -1,4 +1,4 @@ -/* $OpenBSD: chpass.c,v 1.10 1998/03/30 06:59:28 deraadt Exp $ */ +/* $OpenBSD: chpass.c,v 1.11 1998/05/29 16:37:51 millert Exp $ */ /* $NetBSD: chpass.c,v 1.8 1996/05/15 21:50:43 jtc Exp $ */ /*- @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)chpass.c 8.4 (Berkeley) 4/2/94"; #else -static char rcsid[] = "$OpenBSD: chpass.c,v 1.10 1998/03/30 06:59:28 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: chpass.c,v 1.11 1998/05/29 16:37:51 millert Exp $"; #endif #endif /* not lint */ @@ -90,7 +90,7 @@ main(argc, argv) enum { NEWSH, LOADENTRY, EDITENTRY } op; struct passwd *pw, lpw; int ch, pfd, tfd, dfd; - char *arg, tempname[] = "/etc/pw.XXXXXX"; + char *arg, tempname[] = __CONCAT(_PATH_VARTMP,"pw.XXXXXXXX"); #ifdef YP use_yp = _yp_check(NULL); |