summaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/backends/oss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/oss.c b/Alc/backends/oss.c
index 4fce1a02..3c7ace1e 100644
--- a/Alc/backends/oss.c
+++ b/Alc/backends/oss.c
@@ -511,7 +511,7 @@ void alc_oss_probe(enum DevProbe type)
{
#ifdef HAVE_STAT
struct stat buf;
- if(stat(oss_device, &buf) == 0)
+ if(stat(oss_driver, &buf) == 0)
#endif
AppendAllDeviceList(oss_device);
}