Commit 839cfc48 authored by Konstantin Khlebnikov's avatar Konstantin Khlebnikov

ioping: fix O_TMPFILE

ouch
Signed-off-by: default avatarKonstantin Khlebnikov <koct9i@gmail.com>
parent 3dc65803
......@@ -835,7 +835,7 @@ int create_temp(char *path, char *name)
}
#ifdef O_TMPFILE
fd = open(temp, O_RDWR|O_TMPFILE, 0600);
fd = open(path, O_RDWR|O_TMPFILE, 0600);
if (fd >= 0)
goto done;
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment