diff options
author | Alex Viskovatoff <viskovatoff@gmail.com> | 2010-12-21 07:27:35 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-12-21 07:31:08 +0100 |
commit | 144ad7992e16f82bf068bf5f4b397729aeb40a61 (patch) | |
tree | a50d1cbddd4ce99e07997674efe375a9e6516397 | |
parent | a0dd1a1b8bd931c4e7256d389646f25bdcc400c2 (diff) | |
download | mpd-144ad7992e16f82bf068bf5f4b397729aeb40a61.tar.gz mpd-144ad7992e16f82bf068bf5f4b397729aeb40a61.tar.xz mpd-144ad7992e16f82bf068bf5f4b397729aeb40a61.zip |
output/solaris: add missing parameter to open_cloexec() call
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/output/solaris_output_plugin.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,7 @@ ver 0.16.1 (2010/??/??) * audio_check: fix parameter in prototype +* output: + - solaris: add missing parameter to open_cloexec() cal ver 0.16 (2010/12/11) 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", |