mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(statfs): Use stat, not safe_stat.
This commit is contained in:
1 parent
4198f93479
commit
627abb8251
1 file changed
+1
-1
+1
-1
@@ -208,7 +208,7 @@ statfs (path, fsb)
|
||||
struct stat stats;
|
||||
struct dustat fsd;
|
||||
|
||||
if (safe_stat (path, &stats))
|
||||
if (stat (path, &stats))
|
||||
return -1;
|
||||
if (dustat (stats.st_dev, 0, &fsd, sizeof (fsd)))
|
||||
return -1;
|
||||
|
||||
Reference in new issue
Block a user