summaryrefslogtreecommitdiff
path: root/sys/oss
diff options
context:
space:
mode:
authorChristian Schaller <uraeus@gnome.org>2004-04-12 19:41:34 +0000
committerChristian Schaller <uraeus@gnome.org>2004-04-12 19:41:34 +0000
commit178b620bc704a881c296d98ceb662fc0ab62de5d (patch)
tree29be1aa26156f2fb8b5551223d35e267714c08d3 /sys/oss
parentd5153a86910243db194537f8d6c9d466ee175a9a (diff)
s/lstat/stat/ since it can be a symlink, ask decadix on IRC if you have questiosn
Original commit message from CVS: s/lstat/stat/ since it can be a symlink, ask decadix on IRC if you have questiosn
Diffstat (limited to 'sys/oss')
-rw-r--r--sys/oss/gstosselement.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/oss/gstosselement.c b/sys/oss/gstosselement.c
index 0ca2e8e96..600e0b058 100644
--- a/sys/oss/gstosselement.c
+++ b/sys/oss/gstosselement.c
@@ -194,7 +194,7 @@ gst_osselement_probe (gchar * device_base,
goto end;
}
- if (lstat (device, &s) || !S_ISCHR (s.st_mode))
+ if (stat (device, &s) || !S_ISCHR (s.st_mode))
goto end;
*name = device;