From 144ad7992e16f82bf068bf5f4b397729aeb40a61 Mon Sep 17 00:00:00 2001 From: Alex Viskovatoff Date: Tue, 21 Dec 2010 07:27:35 +0100 Subject: [PATCH] output/solaris: add missing parameter to open_cloexec() call --- NEWS | 2 ++ src/output/solaris_output_plugin.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index dad211fc1..8e2a2baa5 100644 --- a/NEWS +++ b/NEWS @@ -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) diff --git a/src/output/solaris_output_plugin.c b/src/output/solaris_output_plugin.c index deb3298a5..22c583805 100644 --- a/src/output/solaris_output_plugin.c +++ b/src/output/solaris_output_plugin.c @@ -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",