From b4580720bbbd716a1236d0fd2da2784562c95ec2 Mon Sep 17 00:00:00 2001 From: James Youngman Date: Sun, 21 Nov 2004 14:25:21 +0000 Subject: [PATCH] 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. --- find/fstype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/find/fstype.c b/find/fstype.c index 19e78ed2..d7a6be77 100644 --- a/find/fstype.c +++ b/find/fstype.c @@ -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;