diff options
author | Chris Robinson <[email protected]> | 2012-04-22 05:06:44 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-04-22 05:06:44 -0700 |
commit | 648464a2da25277c4b90dac8484053ce98581a9b (patch) | |
tree | 8cc43c42744f263d3c5c4e53ade43994859a72dc /Alc/backends/oss.c | |
parent | 29f77003c03578546a8a723e68b19951b4555843 (diff) |
Check the right playback device file with OSS
Diffstat (limited to 'Alc/backends/oss.c')
-rw-r--r-- | Alc/backends/oss.c | 2 |
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); } |