Commit 8a00fa6c authored by Warren Dukes's avatar Warren Dukes

we want to stat, not lstat

git-svn-id: https://svn.musicpd.org/mpd/trunk@3014 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent c8f04457
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment