If the daemon is unable to fork a child to accept a connection, print
[rsync/rsync.git] / syscall.c
index a56eb79..dbac7dc 100644 (file)
--- 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
 }