output/solaris: add missing parameter to open_cloexec() call

This commit is contained in:
Alex Viskovatoff 2010-12-21 07:27:35 +01:00 committed by Max Kellermann
parent a0dd1a1b8b
commit 144ad7992e
2 changed files with 3 additions and 1 deletions

2
NEWS
View File

@ -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)

View File

@ -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",