* acinclude.m4 (AC_GET_FS_INFO): Check the return value of getmntinfo()

properly.
This commit is contained in:
Pavel Tsekov 2006-06-30 07:44:18 +00:00
parent e2959bb66a
commit e599536b2c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-06-30 Hampa Hug <hampa@hampa.ch>
* acinclude.m4 (AC_GET_FS_INFO): Check the return value of
getmntinfo() properly.
2006-06-17 Pavel Tsekov <ptsekov@gmx.net>
* m4/fstypename.m4: New file.

View File

@ -306,7 +306,7 @@ first argument (NetBSD 3.0)])
main ()
{
struct statvfs *mntbufp;
exit (getmntinfo (&mntbufp, MNT_NOWAIT));
exit (getmntinfo (&mntbufp, MNT_NOWAIT) == 0);
}],
mc_cv_sys_mounted_getmntinfo_statvfs=yes,
mc_cv_sys_mounted_getmntinfo_statvfs=no,