From 8a00fa6c57cbeafc84ef92756cebb425be286192 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Sat, 5 Mar 2005 14:28:37 +0000 Subject: we want to stat, not lstat git-svn-id: https://svn.musicpd.org/mpd/trunk@3014 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/audioOutputs/audioOutput_oss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/audioOutputs') diff --git a/src/audioOutputs/audioOutput_oss.c b/src/audioOutputs/audioOutput_oss.c index fce622c5d..012952502 100644 --- a/src/audioOutputs/audioOutput_oss.c +++ b/src/audioOutputs/audioOutput_oss.c @@ -78,7 +78,7 @@ static void freeOssData(OssData * od) { static int oss_statDevice(char * device, int * stErrno) { struct stat st; - if(0 == lstat(device, &st)) { + if(0 == stat(device, &st)) { if(!S_ISCHR(st.st_mode)) { return OSS_STAT_NOT_CHAR_DEV; } -- cgit v1.2.3