summaryrefslogtreecommitdiffstats
path: root/cddl
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2015-01-31 23:12:29 +0000
committermarkj <markj@FreeBSD.org>2015-01-31 23:12:29 +0000
commitbcc73245049473e101205b6de4927e0dea9b59b8 (patch)
tree192d9b7bdffab966c145c2e011e6884d906f75f5 /cddl
parentfe54896a96868c2c12b42ea7c1dcbfae47afe58c (diff)
downloadFreeBSD-src-bcc73245049473e101205b6de4927e0dea9b59b8.zip
FreeBSD-src-bcc73245049473e101205b6de4927e0dea9b59b8.tar.gz
Fix mktemp(1) usage.
MFC after: 1 week
Diffstat (limited to 'cddl')
-rw-r--r--cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.corruptenv.ksh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.corruptenv.ksh b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.corruptenv.ksh
index 68dbb03..696088c 100644
--- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.corruptenv.ksh
+++ b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/tst.corruptenv.ksh
@@ -48,7 +48,7 @@ fi
dtrace="$1"
startdir="$PWD"
-dir=$(mktemp -td drtiXXXXXX)
+dir=$(mktemp -d -t drtiXXXXXX)
if (( $? != 0 )); then
print -u2 'Could not create safe temporary directory'
exit 2
OpenPOWER on IntegriCloud