From 178b620bc704a881c296d98ceb662fc0ab62de5d Mon Sep 17 00:00:00 2001 From: Christian Schaller Date: Mon, 12 Apr 2004 19:41:34 +0000 Subject: 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 --- sys/oss/gstosselement.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') 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; -- cgit