mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
show socket directory when we fail to create it. (Closes #85)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1441 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
960b5cbd10
commit
01ddb54889
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ int pa__init(pa_core *c, pa_module*m) {
|
||||||
* /tmp/.esd/, hence we have to create the dir first */
|
* /tmp/.esd/, hence we have to create the dir first */
|
||||||
|
|
||||||
if (pa_make_secure_parent_dir(u->socket_path, c->is_system_instance ? 0755 : 0700, (uid_t)-1, (gid_t)-1) < 0) {
|
if (pa_make_secure_parent_dir(u->socket_path, c->is_system_instance ? 0755 : 0700, (uid_t)-1, (gid_t)-1) < 0) {
|
||||||
pa_log("Failed to create socket directory: %s\n", pa_cstrerror(errno));
|
pa_log("Failed to create socket directory '%s': %s\n", u->socket_path, pa_cstrerror(errno));
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue