aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-04-22 05:06:44 -0700
committerChris Robinson <[email protected]>2012-04-22 05:06:44 -0700
commit648464a2da25277c4b90dac8484053ce98581a9b (patch)
tree8cc43c42744f263d3c5c4e53ade43994859a72dc /Alc
parent29f77003c03578546a8a723e68b19951b4555843 (diff)
Check the right playback device file with OSS
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);
}