mirror of
git://git.sv.gnu.org/findutils.git
synced 2026-01-29 20:58:59 +01:00
get_mounted_filesystems() should use getmntent() if that function is
present, rather than just if configure didn't find anything better for filesystem_type_uncached() to use than that.
This commit is contained in:
@@ -389,7 +389,7 @@ filesystem_type_uncached (const char *path, const char *relpath, const struct st
|
||||
char *
|
||||
get_mounted_filesystems (void)
|
||||
{
|
||||
#ifdef FSTYPE_MNTENT /* 4.3BSD, SunOS, HP-UX, Dynix, Irix. */
|
||||
#ifdef HAVE_GETMNTENT
|
||||
char *table = MOUNTED;
|
||||
FILE *mfp;
|
||||
struct mntent *mnt;
|
||||
|
||||
Reference in New Issue
Block a user