I don't know how you changed it Joseph, but shouldn't it be (entirely untested):
/* This function checks whether current file system is an AutoFs
* HRFS_entry must be valid prior to calling this function
* return 1 if AutoFs, 0 otherwise
*/
int
Check_HR_FileSys_AutoFs(void)
{
#if HAVE_GETFSSTAT
if (HRFS_entry->HRFS_type != NULL &&
#if defined(MNTTYPE_AUTOFS)
!strcmp(HRFS_entry->HRFS_type, MNTTYPE_AUTOFS)
#else
!strcmp(HRFS_entry->HRFS_type, "autofs")
#endif
)
return 1; /* AUTOFS */
else
#endif /* HAVE_GETFSSTAT */
return 0; /* no AUTOFS */
}
Do you know what your config.h status is for HAVE_GETFSSTAT and
MNTTYPE_AUTOFS?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1842924
Title:
hrStorage Not Available In 5.7.3+dfsg-1ubuntu4.3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1842924/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs