summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1996-09-16 02:22:00 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1996-09-16 02:22:00 +0000
commit4f9ed018c2821547c76751bc31486972cf13f8a7 (patch)
tree1b179d6a75c0aca1f00e7671d86ad8de44b76a20 /sbin
parent77206d12c869c4784dafc0b20a0639a2d959f4fd (diff)
_PATH_TMP -> _PATH_TMPFILE
Diffstat (limited to 'sbin')
-rw-r--r--sbin/disklabel/disklabel.c6
-rw-r--r--sbin/disklabel/pathnames.h5
2 files changed, 5 insertions, 6 deletions
diff --git a/sbin/disklabel/disklabel.c b/sbin/disklabel/disklabel.c
index 41112c8ef5c..e9490a2fb5b 100644
--- a/sbin/disklabel/disklabel.c
+++ b/sbin/disklabel/disklabel.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.c,v 1.15 1996/08/10 12:14:19 deraadt Exp $ */
+/* $OpenBSD: disklabel.c,v 1.16 1996/09/16 02:21:59 millert Exp $ */
/* $NetBSD: disklabel.c,v 1.30 1996/03/14 19:49:24 ghudson Exp $ */
/*
@@ -48,7 +48,7 @@ static char copyright[] =
/* from static char sccsid[] = "@(#)disklabel.c 1.2 (Symmetric) 11/28/85"; */
static char sccsid[] = "@(#)disklabel.c 8.2 (Berkeley) 1/7/94";
#else
-static char rcsid[] = "$OpenBSD: disklabel.c,v 1.15 1996/08/10 12:14:19 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: disklabel.c,v 1.16 1996/09/16 02:21:59 millert Exp $";
#endif
#endif /* not lint */
@@ -95,7 +95,7 @@ static char rcsid[] = "$OpenBSD: disklabel.c,v 1.15 1996/08/10 12:14:19 deraadt
char *dkname;
char *specname;
-char tmpfil[] = _PATH_TMP;
+char tmpfil[] = _PATH_TMPFILE;
char namebuf[BBSIZE], *np = namebuf;
struct disklabel lab;
diff --git a/sbin/disklabel/pathnames.h b/sbin/disklabel/pathnames.h
index ac7f49ad88f..5c15fbd8377 100644
--- a/sbin/disklabel/pathnames.h
+++ b/sbin/disklabel/pathnames.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pathnames.h,v 1.2 1996/06/23 14:30:06 deraadt Exp $ */
+/* $OpenBSD: pathnames.h,v 1.3 1996/09/16 02:21:58 millert Exp $ */
/* $NetBSD: pathnames.h,v 1.6 1995/03/18 14:54:43 cgd Exp $ */
/*
@@ -39,5 +39,4 @@
#include <paths.h>
#define _PATH_BOOTDIR "/usr/mdec"
-#undef _PATH_TMP
-#define _PATH_TMP "/tmp/EdDk.aXXXXXX"
+#define _PATH_TMPFILE "/tmp/EdDk.aXXXXXX"