Which I guess in their style would be (and I suspect this is probably what you tried): /* 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 */ #endif /* HAVE_GETFSSTAT */ return 0; /* no 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs