diff options
author | Anton Lindqvist <anton@cvs.openbsd.org> | 2022-11-10 12:38:58 +0000 |
---|---|---|
committer | Anton Lindqvist <anton@cvs.openbsd.org> | 2022-11-10 12:38:58 +0000 |
commit | 1e1871ab605cf4452450b95c29ddeccd7b2913da (patch) | |
tree | a9e2e6fc3cf11d076344319ee039e54e89494561 /regress/lib | |
parent | 9827196e6b93f524c17b3657c5b76ea3b14d1f05 (diff) |
Use /tmp as opposed of /var/tmp as the default directory for temporary
files.
Diffstat (limited to 'regress/lib')
-rw-r--r-- | regress/lib/libc/db/dbtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |