diff --git a/ChangeLog b/ChangeLog index 492448cfb..ca1557303 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-30 Hampa Hug + + * acinclude.m4 (AC_GET_FS_INFO): Check the return value of + getmntinfo() properly. + 2006-06-17 Pavel Tsekov * m4/fstypename.m4: New file. diff --git a/acinclude.m4 b/acinclude.m4 index caa379412..4a54fae9a 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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,