aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-10 16:53:24 +0100
committerMax Kellermann <max@duempel.org>2009-11-10 16:53:24 +0100
commite0e6813a1da123d5b0cc920c5e0f20b0028c830b (patch)
treec6c70cbf701472a2f27d6e5d5274f569721d1028 /src/mixer
parent3d2a9d35450876fe28708340e2b4ed3831d9d9af (diff)
downloadmpd-e0e6813a1da123d5b0cc920c5e0f20b0028c830b.tar.gz
mpd-e0e6813a1da123d5b0cc920c5e0f20b0028c830b.tar.xz
mpd-e0e6813a1da123d5b0cc920c5e0f20b0028c830b.zip
fd_util: removed creat_cloexec()
Add a "mode" argument to open_cloexec() instead.
Diffstat (limited to '')
-rw-r--r--src/mixer/oss_mixer_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mixer/oss_mixer_plugin.c b/src/mixer/oss_mixer_plugin.c
index 028786ae9..631107b70 100644
--- a/src/mixer/oss_mixer_plugin.c
+++ b/src/mixer/oss_mixer_plugin.c
@@ -123,7 +123,7 @@ oss_mixer_open(struct mixer *data, GError **error_r)
{
struct oss_mixer *om = (struct oss_mixer *) data;
- om->device_fd = open_cloexec(om->device, O_RDONLY);
+ om->device_fd = open_cloexec(om->device, O_RDONLY, 0);
if (om->device_fd < 0) {
g_set_error(error_r, oss_mixer_quark(), errno,
"failed to open %s: %s",