From: Diego Elio 'Flameeyes' Pettenò Date: Fri, 20 Nov 2009 20:22:24 +0000 (+0100) Subject: Fix build on Solaris: pass the third parameter to pa_cloexec_open. X-Git-Tag: 1.0_branch~1115^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=71ebbfb6ef0a8c368b9c424c3be4fda2519a5770;p=profile%2Fivi%2Fpulseaudio.git Fix build on Solaris: pass the third parameter to pa_cloexec_open. --- diff --git a/src/modules/module-solaris.c b/src/modules/module-solaris.c index 955997b..396094c 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; }