summaryrefslogtreecommitdiff
path: root/src/test/test-async.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-async.c')
-rw-r--r--src/test/test-async.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-async.c b/src/test/test-async.c
index ada6d67c42..4ebc27f0bd 100644
--- a/src/test/test-async.c
+++ b/src/test/test-async.c
@@ -36,7 +36,7 @@ int main(int argc, char *argv[]) {
int fd;
char name[] = "/tmp/test-asynchronous_close.XXXXXX";
- fd = mkostemp_safe(name, O_RDWR|O_CLOEXEC);
+ fd = mkostemp_safe(name);
assert_se(fd >= 0);
asynchronous_close(fd);