summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1996-09-16 02:19:39 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1996-09-16 02:19:39 +0000
commit77206d12c869c4784dafc0b20a0639a2d959f4fd (patch)
tree83dcadfc33728ea4640cbe685b686bf1c32c7915 /usr.sbin
parent5f11a8a706c9ee1c6314da299062b2a27fe54467 (diff)
_PATH_TMP -> _PATH_TMPFILE
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/edquota/edquota.c4
-rw-r--r--usr.sbin/edquota/pathnames.h5
2 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/edquota/edquota.c b/usr.sbin/edquota/edquota.c
index fde69f5d6ce..b1e2af1c6c3 100644
--- a/usr.sbin/edquota/edquota.c
+++ b/usr.sbin/edquota/edquota.c
@@ -42,7 +42,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)edquota.c 8.1 (Berkeley) 6/6/93";*/
-static char *rcsid = "$Id: edquota.c,v 1.12 1996/09/01 01:41:44 deraadt Exp $";
+static char *rcsid = "$Id: edquota.c,v 1.13 1996/09/16 02:19:37 millert Exp $";
#endif /* not lint */
/*
@@ -67,7 +67,7 @@ static char *rcsid = "$Id: edquota.c,v 1.12 1996/09/01 01:41:44 deraadt Exp $";
char *qfname = QUOTAFILENAME;
char *qfextension[] = INITQFNAMES;
char *quotagroup = QUOTAGROUP;
-char tmpfil[] = _PATH_TMP;
+char tmpfil[] = _PATH_TMPFILE;
struct quotause {
struct quotause *next;
diff --git a/usr.sbin/edquota/pathnames.h b/usr.sbin/edquota/pathnames.h
index a1b335efff7..579274e387f 100644
--- a/usr.sbin/edquota/pathnames.h
+++ b/usr.sbin/edquota/pathnames.h
@@ -31,10 +31,9 @@
* SUCH DAMAGE.
*
* from: @(#)pathnames.h 8.1 (Berkeley) 6/6/93
- * $Id: pathnames.h,v 1.1 1995/10/18 08:47:33 deraadt Exp $
+ * $Id: pathnames.h,v 1.2 1996/09/16 02:19:38 millert Exp $
*/
#include <paths.h>
-#undef _PATH_TMP
-#define _PATH_TMP "/tmp/EdP.aXXXXX"
+#define _PATH_TMPFILE "/tmp/EdP.aXXXXX"