aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/solaris.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/solaris.c')
-rw-r--r--Alc/backends/solaris.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Alc/backends/solaris.c b/Alc/backends/solaris.c
index 49bfad3c..fdc62562 100644
--- a/Alc/backends/solaris.c
+++ b/Alc/backends/solaris.c
@@ -135,7 +135,7 @@ static int ALCsolarisBackend_mixerProc(void *ptr)
if(errno == EINTR)
continue;
ERR("select failed: %s\n", strerror(errno));
- aluHandleDisconnect(device);
+ aluHandleDisconnect(device, "Failed to wait for playback buffer: %s", strerror(errno));
break;
}
else if(sret == 0)
@@ -155,7 +155,8 @@ static int ALCsolarisBackend_mixerProc(void *ptr)
if(errno == EAGAIN || errno == EWOULDBLOCK || errno == EINTR)
continue;
ERR("write failed: %s\n", strerror(errno));
- aluHandleDisconnect(device);
+ aluHandleDisconnect(device, "Failed to write playback samples: %s",
+ strerror(errno));
break;
}