]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/shm.c
sample-cache: use the sample name as unmodified fallback in the properties when playi...
[pulseaudio] / src / pulsecore / shm.c
index 29849d571a2d0203faef690bcc5f9f7a3f0c358c..5d5d85ab2d24cdb44c85f0dd8e98188be895e7ce 100644 (file)
@@ -290,7 +290,7 @@ int pa_shm_attach_ro(pa_shm *m, unsigned id) {
     segment_name(fn, sizeof(fn), m->id = id);
 
     if ((fd = shm_open(fn, O_RDONLY, 0)) < 0) {
-        if (errno != EACCES)
+        if (errno != EACCES && errno != ENOENT)
             pa_log("shm_open() failed: %s", pa_cstrerror(errno));
         goto fail;
     }