aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/oss.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/oss.c')
-rw-r--r--Alc/oss.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/Alc/oss.c b/Alc/oss.c
index 8fda248c..66c3c55b 100644
--- a/Alc/oss.c
+++ b/Alc/oss.c
@@ -166,8 +166,7 @@ static ALCboolean oss_open_playback(ALCdevice *device, const ALCchar *deviceName
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;
}
@@ -336,8 +335,7 @@ static ALCboolean oss_open_capture(ALCdevice *device, const ALCchar *deviceName)
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;
}