summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2000-03-04 17:16:02 +0000
committermillert <millert@openbsd.org>2000-03-04 17:16:02 +0000
commit5eac0c951893491d6b4d6ca5c3f595b14e89818d (patch)
tree855e3ee03def18db094756b09ca48845378b55c3
parentRemove unnecessary, unreached, confusing code. (diff)
downloadwireguard-openbsd-5eac0c951893491d6b4d6ca5c3f595b14e89818d.tar.xz
wireguard-openbsd-5eac0c951893491d6b4d6ca5c3f595b14e89818d.zip
Make P_tmpdir point to /tmp/ not /var/tmp
Really, there should be a way to make configurable by the admin at runtime (say, a gettmpdir() function).
-rw-r--r--include/stdio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdio.h b/include/stdio.h
index e0508031ce5..f258dbaa31c 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdio.h,v 1.13 2000/02/22 17:29:12 millert Exp $ */
+/* $OpenBSD: stdio.h,v 1.14 2000/03/04 17:16:02 millert Exp $ */
/* $NetBSD: stdio.h,v 1.18 1996/04/25 18:29:21 jtc Exp $ */
/*-
@@ -187,7 +187,7 @@ __END_DECLS
/* System V/ANSI C; this is the wrong way to do this, do *not* use these. */
#ifndef _ANSI_SOURCE
-#define P_tmpdir "/var/tmp/"
+#define P_tmpdir "/tmp/"
#endif
#define L_tmpnam 1024 /* XXX must be == PATH_MAX */
#define TMP_MAX 308915776