mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
Fix build on Solaris: pass the third parameter to pa_cloexec_open.
This commit is contained in:
parent
70ba21e78a
commit
71ebbfb6ef
1 changed files with 1 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ static int open_audio_device(struct userdata *u, pa_sample_spec *ss) {
|
|||
pa_assert(u);
|
||||
pa_assert(ss);
|
||||
|
||||
if ((u->fd = pa_open_cloexec(u->device_name, u->mode | O_NONBLOCK)) < 0) {
|
||||
if ((u->fd = pa_open_cloexec(u->device_name, u->mode | O_NONBLOCK, 0)) < 0) {
|
||||
pa_log_warn("open %s failed (%s)", u->device_name, pa_cstrerror(errno));
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue