diff options
author | Max Kellermann <max@duempel.org> | 2009-11-10 16:53:24 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-10 16:53:24 +0100 |
commit | e0e6813a1da123d5b0cc920c5e0f20b0028c830b (patch) | |
tree | c6c70cbf701472a2f27d6e5d5274f569721d1028 /src/mixer | |
parent | 3d2a9d35450876fe28708340e2b4ed3831d9d9af (diff) |
fd_util: removed creat_cloexec()
Add a "mode" argument to open_cloexec() instead.
Diffstat (limited to 'src/mixer')
-rw-r--r-- | src/mixer/oss_mixer_plugin.c | 2 |
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", |