From 648464a2da25277c4b90dac8484053ce98581a9b Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 22 Apr 2012 05:06:44 -0700 Subject: [PATCH] Check the right playback device file with OSS --- Alc/backends/oss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }