Check the right playback device file with OSS

This commit is contained in:
Chris Robinson 2012-04-22 05:06:44 -07:00
parent 29f77003c0
commit 648464a2da

View File

@ -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);
}