output/solaris: add missing parameter to open_cloexec() call
This commit is contained in:
parent
a0dd1a1b8b
commit
144ad7992e
2
NEWS
2
NEWS
|
@ -1,5 +1,7 @@
|
||||||
ver 0.16.1 (2010/??/??)
|
ver 0.16.1 (2010/??/??)
|
||||||
* audio_check: fix parameter in prototype
|
* audio_check: fix parameter in prototype
|
||||||
|
* output:
|
||||||
|
- solaris: add missing parameter to open_cloexec() cal
|
||||||
|
|
||||||
|
|
||||||
ver 0.16 (2010/12/11)
|
ver 0.16 (2010/12/11)
|
||||||
|
|
|
@ -93,7 +93,7 @@ solaris_output_open(void *data, struct audio_format *audio_format,
|
||||||
|
|
||||||
/* open the device in non-blocking mode */
|
/* 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) {
|
if (so->fd < 0) {
|
||||||
g_set_error(error, solaris_output_quark(), errno,
|
g_set_error(error, solaris_output_quark(), errno,
|
||||||
"Failed to open %s: %s",
|
"Failed to open %s: %s",
|
||||||
|
|
Loading…
Reference in New Issue