summaryrefslogtreecommitdiffstats
path: root/src/pulse/client-conf.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-10-30 04:54:19 +0100
committerLennart Poettering <lennart@poettering.net>2009-10-30 04:54:19 +0100
commit168be3830ae291dd819abebec813f76151487bb3 (patch)
tree783df8db52cac54b74d8e304d98e7ab5e4683bd8 /src/pulse/client-conf.c
parent88b72958bebd1770e45a4af2dc9fec75aaf1f2de (diff)
use pa_fopen_cloexec() where applicable
Diffstat (limited to 'src/pulse/client-conf.c')
-rw-r--r--src/pulse/client-conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulse/client-conf.c b/src/pulse/client-conf.c
index 62c06f6a..3eaca4d9 100644
--- a/src/pulse/client-conf.c
+++ b/src/pulse/client-conf.c
@@ -110,7 +110,7 @@ int pa_client_conf_load(pa_client_conf *c, const char *filename) {
if (filename) {
- if (!(f = fopen(filename, "r"))) {
+ if (!(f = pa_fopen_cloexec(filename, "r"))) {
pa_log(_("Failed to open configuration file '%s': %s"), fn, pa_cstrerror(errno));
goto finish;
}