aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2005-03-05 14:28:37 +0000
committerWarren Dukes <warren.dukes@gmail.com>2005-03-05 14:28:37 +0000
commit8a00fa6c57cbeafc84ef92756cebb425be286192 (patch)
tree5a1c3c88cb0ff6dbf74342cb8f9b84bb166574c1 /src
parentc8f044572e5520b1bbe5c146eef5e21449953510 (diff)
downloadmpd-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 '')
-rw-r--r--src/audioOutputs/audioOutput_oss.c2
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;
}