2009-05-18 10:21:21 +00:00
|
|
|
diff -up net-snmp-5.1.2/agent/mibgroup/host/hr_filesys.c.file_offset net-snmp-5.1.2/agent/mibgroup/host/hr_filesys.c
|
|
|
|
--- net-snmp-5.1.2/agent/mibgroup/host/hr_filesys.c.file_offset 2004-06-19 15:34:11.000000000 +0200
|
|
|
|
+++ net-snmp-5.1.2/agent/mibgroup/host/hr_filesys.c 2009-01-22 14:42:26.000000000 +0100
|
|
|
|
@@ -783,7 +783,7 @@ Get_FSIndex(char *dev)
|
2005-04-04 08:11:17 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
-long
|
|
|
|
+fsblkcnt_t
|
|
|
|
Get_FSSize(char *dev)
|
|
|
|
{
|
|
|
|
struct HRFS_statfs statfs_buf;
|
2009-05-18 10:21:21 +00:00
|
|
|
diff -up net-snmp-5.1.2/agent/mibgroup/host/hr_filesys.h.file_offset net-snmp-5.1.2/agent/mibgroup/host/hr_filesys.h
|
|
|
|
--- net-snmp-5.1.2/agent/mibgroup/host/hr_filesys.h.file_offset 2002-07-04 14:56:35.000000000 +0200
|
|
|
|
+++ net-snmp-5.1.2/agent/mibgroup/host/hr_filesys.h 2009-01-22 14:42:26.000000000 +0100
|
2008-07-25 11:03:32 +00:00
|
|
|
@@ -12,7 +12,7 @@ extern int Get_Next_HR_FileSys(void
|
2005-04-04 08:11:17 +00:00
|
|
|
extern int Check_HR_FileSys_NFS(void);
|
|
|
|
|
|
|
|
extern int Get_FSIndex(char *);
|
|
|
|
-extern long Get_FSSize(char *); /* Temporary */
|
|
|
|
+extern fsblkcnt_t Get_FSSize(char *); /* Temporary */
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* _MIBGROUP_HRFSYS_H */
|