summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-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 0ca2e8e9..600e0b05 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;