diff options
author | Diego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2009-11-20 21:22:24 +0100 |
---|---|---|
committer | Diego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2009-11-20 21:23:53 +0100 |
commit | 71ebbfb6ef0a8c368b9c424c3be4fda2519a5770 (patch) | |
tree | 10e0ed9131169f91379186f999e5a85d7a490f3f /src | |
parent | 70ba21e78a90b60f38ce524c49907b1f5daa2fba (diff) |
Fix build on Solaris: pass the third parameter to pa_cloexec_open.
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/module-solaris.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-solaris.c b/src/modules/module-solaris.c index 955997ba..396094ce 100644 --- a/src/modules/module-solaris.c +++ b/src/modules/module-solaris.c @@ -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; } |