From e0e6813a1da123d5b0cc920c5e0f20b0028c830b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 10 Nov 2009 16:53:24 +0100 Subject: fd_util: removed creat_cloexec() Add a "mode" argument to open_cloexec() instead. --- src/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/log.c') diff --git a/src/log.c b/src/log.c index b2de391b..bb1f1f11 100644 --- a/src/log.c +++ b/src/log.c @@ -129,7 +129,7 @@ open_log_file(void) { assert(out_filename != NULL); - return open_cloexec(out_filename, O_CREAT | O_WRONLY | O_APPEND); + return open_cloexec(out_filename, O_CREAT | O_WRONLY | O_APPEND, 0666); } static void -- cgit v1.2.3