From 1e1871ab605cf4452450b95c29ddeccd7b2913da Mon Sep 17 00:00:00 2001 From: Anton Lindqvist Date: Thu, 10 Nov 2022 12:38:58 +0000 Subject: Use /tmp as opposed of /var/tmp as the default directory for temporary files. --- regress/lib/libc/db/dbtest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'regress/lib') diff --git a/regress/lib/libc/db/dbtest.c b/regress/lib/libc/db/dbtest.c index a3375511b06..fd1d2e80771 100644 --- a/regress/lib/libc/db/dbtest.c +++ b/regress/lib/libc/db/dbtest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dbtest.c,v 1.19 2021/12/13 16:56:48 deraadt Exp $ */ +/* $OpenBSD: dbtest.c,v 1.20 2022/11/10 12:38:57 anton Exp $ */ /* $NetBSD: dbtest.c,v 1.8 1996/05/03 21:57:48 cgd Exp $ */ /*- @@ -140,7 +140,7 @@ main(int argc, char *argv[]) if (fname == NULL) { p = getenv("TMPDIR"); if (p == NULL) - p = "/var/tmp"; + p = "/tmp"; (void)snprintf(buf, sizeof buf, "%s/__dbtest", p); fname = buf; (void)unlink(buf); -- cgit v1.2.3