aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlex Viskovatoff <viskovatoff@gmail.com>2010-12-21 07:27:35 +0100
committerMax Kellermann <max@duempel.org>2010-12-21 07:31:08 +0100
commit144ad7992e16f82bf068bf5f4b397729aeb40a61 (patch)
treea50d1cbddd4ce99e07997674efe375a9e6516397 /src
parenta0dd1a1b8bd931c4e7256d389646f25bdcc400c2 (diff)
downloadmpd-144ad7992e16f82bf068bf5f4b397729aeb40a61.tar.gz
mpd-144ad7992e16f82bf068bf5f4b397729aeb40a61.tar.xz
mpd-144ad7992e16f82bf068bf5f4b397729aeb40a61.zip
output/solaris: add missing parameter to open_cloexec() call
Diffstat (limited to '')
-rw-r--r--src/output/solaris_output_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/solaris_output_plugin.c b/src/output/solaris_output_plugin.c
index deb3298a5..22c583805 100644
--- a/src/output/solaris_output_plugin.c
+++ b/src/output/solaris_output_plugin.c
@@ -93,7 +93,7 @@ solaris_output_open(void *data, struct audio_format *audio_format,
/* open the device in non-blocking mode */
- so->fd = open_cloexec(so->device, O_WRONLY|O_NONBLOCK);
+ so->fd = open_cloexec(so->device, O_WRONLY|O_NONBLOCK, 0);
if (so->fd < 0) {
g_set_error(error, solaris_output_quark(), errno,
"Failed to open %s: %s",