diff options
Diffstat (limited to 'rt/tst-aio.c')
-rw-r--r-- | rt/tst-aio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/tst-aio.c b/rt/tst-aio.c index 783907ea80..007ef6c68f 100644 --- a/rt/tst-aio.c +++ b/rt/tst-aio.c @@ -54,12 +54,12 @@ do_prepare (int argc, char *argv[]) name = malloc (name_len + sizeof ("/aioXXXXXX")); mempcpy (mempcpy (name, test_dir, name_len), "/aioXXXXXX", sizeof ("/aioXXXXXX")); - add_temp_file (name); /* Open our test file. */ fd = mkstemp (name); if (fd == -1) error (EXIT_FAILURE, errno, "cannot open test file `%s'", name); + add_temp_file (name); } |