diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2005-03-05 14:28:37 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2005-03-05 14:28:37 +0000 |
commit | 8a00fa6c57cbeafc84ef92756cebb425be286192 (patch) | |
tree | 5a1c3c88cb0ff6dbf74342cb8f9b84bb166574c1 /src/audioOutputs | |
parent | c8f044572e5520b1bbe5c146eef5e21449953510 (diff) | |
download | mpd-8a00fa6c57cbeafc84ef92756cebb425be286192.tar.gz mpd-8a00fa6c57cbeafc84ef92756cebb425be286192.tar.xz mpd-8a00fa6c57cbeafc84ef92756cebb425be286192.zip |
we want to stat, not lstat
git-svn-id: https://svn.musicpd.org/mpd/trunk@3014 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/audioOutputs')
-rw-r--r-- | src/audioOutputs/audioOutput_oss.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |