X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/f62c17e3786ac6643981d9ec68a1cd130ffcf149..0e9480317dbb5b8003535a769f4a03bc720d5f5f:/syscall.c diff --git a/syscall.c b/syscall.c index a56eb793..dbac7dc9 100644 --- a/syscall.c +++ b/syscall.c @@ -132,7 +132,7 @@ int do_mkstemp(char *template, mode_t perms) } #else if (!mktemp(template)) return -1; - return open(template, O_RDWR|O_EXCL|O_CREAT, perms); + return do_open(template, O_RDWR|O_EXCL|O_CREAT, perms); #endif }