diff options
author | Max Kellermann <max@duempel.org> | 2009-11-10 16:53:24 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-10 16:53:24 +0100 |
commit | e0e6813a1da123d5b0cc920c5e0f20b0028c830b (patch) | |
tree | c6c70cbf701472a2f27d6e5d5274f569721d1028 /src/log.c | |
parent | 3d2a9d35450876fe28708340e2b4ed3831d9d9af (diff) | |
download | mpd-e0e6813a1da123d5b0cc920c5e0f20b0028c830b.tar.gz mpd-e0e6813a1da123d5b0cc920c5e0f20b0028c830b.tar.xz mpd-e0e6813a1da123d5b0cc920c5e0f20b0028c830b.zip |
fd_util: removed creat_cloexec()
Add a "mode" argument to open_cloexec() instead.
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |