summaryrefslogtreecommitdiffstats
path: root/src/utils/pacmd.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2009-10-31 02:16:14 +0100
committerDaniel Mack <daniel@caiaq.de>2009-10-31 02:16:14 +0100
commitc4e276edbd84cbb8c5b594c9f427b0a25a7fb2ab (patch)
tree55c0d0f8e378e5e6fe203b250a816ea4d2d75ccb /src/utils/pacmd.c
parent9c61465c796f3369c7cc57c094489fb383216a1b (diff)
parent2dc37e1214f20aab528ae680e9a85fc8ea143313 (diff)
Merge branch 'master' of git://0pointer.de/pulseaudio
Diffstat (limited to 'src/utils/pacmd.c')
-rw-r--r--src/utils/pacmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/pacmd.c b/src/utils/pacmd.c
index 5ef57e3b..ef58e9ce 100644
--- a/src/utils/pacmd.c
+++ b/src/utils/pacmd.c
@@ -70,7 +70,7 @@ int main(int argc, char*argv[]) {
goto fail;
}
- if ((fd = socket(PF_UNIX, SOCK_STREAM, 0)) < 0) {
+ if ((fd = pa_socket_cloexec(PF_UNIX, SOCK_STREAM, 0)) < 0) {
pa_log(_("socket(PF_UNIX, SOCK_STREAM, 0): %s"), strerror(errno));
goto fail;
}