diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-10-30 04:54:19 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-10-30 04:54:19 +0100 |
commit | 168be3830ae291dd819abebec813f76151487bb3 (patch) | |
tree | 783df8db52cac54b74d8e304d98e7ab5e4683bd8 /src/modules/module-match.c | |
parent | 88b72958bebd1770e45a4af2dc9fec75aaf1f2de (diff) |
use pa_fopen_cloexec() where applicable
Diffstat (limited to 'src/modules/module-match.c')
-rw-r--r-- | src/modules/module-match.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-match.c b/src/modules/module-match.c index 0bd781d2..b1693f18 100644 --- a/src/modules/module-match.c +++ b/src/modules/module-match.c @@ -85,7 +85,7 @@ static int load_rules(struct userdata *u, const char *filename) { pa_assert(u); if (filename) - f = fopen(fn = pa_xstrdup(filename), "r"); + f = pa_fopen_cloexec(fn = pa_xstrdup(filename), "r"); else f = pa_open_config_file(DEFAULT_MATCH_TABLE_FILE, DEFAULT_MATCH_TABLE_FILE_USER, NULL, &fn); |