summaryrefslogtreecommitdiffstats
path: root/src/pulse/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulse/context.c')
-rw-r--r--src/pulse/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulse/context.c b/src/pulse/context.c
index efc1685b..30a257fe 100644
--- a/src/pulse/context.c
+++ b/src/pulse/context.c
@@ -707,7 +707,7 @@ int pa_context_connect(
char lf[PATH_MAX];
pa_runtime_path(AUTOSPAWN_LOCK, lf, sizeof(lf));
- pa_make_secure_parent_dir(lf, 0700, getuid(), getgid());
+ pa_make_secure_parent_dir(lf, 0700, (uid_t)-1, (gid_t)-1);
assert(c->autospawn_lock_fd <= 0);
c->autospawn_lock_fd = pa_lock_lockfile(lf);