--- io/stat.c | 2 +- quota/free.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/io/stat.c b/io/stat.c index 49c4c27c..78f7d7f8 100644 --- a/io/stat.c +++ b/io/stat.c @@ -182,7 +182,7 @@ statfs_f( int ret; printf(_("fd.path = \"%s\"\n"), file->name); - if (platform_fstatfs(file->fd, &st) < 0) { + if (fstatfs(file->fd, &st) < 0) { perror("fstatfs"); exitcode = 1; } else { diff --git a/quota/free.c b/quota/free.c index ea9c112f..8fcb6b93 100644 --- a/quota/free.c +++ b/quota/free.c @@ -62,7 +62,7 @@ mount_free_space_data( return 0; } - if (platform_fstatfs(fd, &st) < 0) { + if (fstatfs(fd, &st) < 0) { perror("fstatfs"); close(fd); return 0; -- 2.31.1