show socket directory when we fail to create it. (Closes #85)
authorLennart Poettering <lennart@poettering.net>
Tue, 22 May 2007 23:39:47 +0000 (23:39 +0000)
committerLennart Poettering <lennart@poettering.net>
Tue, 22 May 2007 23:39:47 +0000 (23:39 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1441 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/modules/module-protocol-stub.c

index 4728f75..5c8733f 100644 (file)
@@ -271,7 +271,7 @@ int pa__init(pa_core *c, pa_module*m) {
      * /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) {
-        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;
     }
 #endif