aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/solaris.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-08-01 16:20:28 -0700
committerChris Robinson <[email protected]>2010-08-01 16:20:28 -0700
commitfe6e73ede9c4137992e2945bf4db0d7ab897208b (patch)
treef41d7d6bf96e7dc3cffc15d51821fbe5e24bafff /Alc/solaris.c
parent8dab4c418cd95a9ceb7ecf3211c1cf97201b7b1e (diff)
Be a bit more verbose when a device fails to open
Diffstat (limited to 'Alc/solaris.c')
-rw-r--r--Alc/solaris.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Alc/solaris.c b/Alc/solaris.c
index 4fbb1942..275d81ac 100644
--- a/Alc/solaris.c
+++ b/Alc/solaris.c
@@ -111,8 +111,7 @@ static ALCboolean solaris_open_playback(ALCdevice *device, const ALCchar *device
if(data->fd == -1)
{
free(data);
- if(errno != ENOENT)
- AL_PRINT("Could not open %s: %s\n", driver, strerror(errno));
+ AL_PRINT("Could not open %s: %s\n", driver, strerror(errno));
return ALC_FALSE;
}