--- doasedit.orig	2024-05-10 17:16:18 UTC
+++ doasedit
@@ -30,7 +30,7 @@ then
    exit 3
 fi
 
-temp_file=$(mktemp --tmpdir doasedit.XXXXXXXX)
+temp_file=$(mktemp -t /tmp)
 if [ ! -r "$temp_file" ]
 then
    echo "Was unable to create temporary file."
