2008-09-08 14:58:09 +02:00
|
|
|
$NetBSD: patch-aa,v 1.8 2008/09/08 12:58:09 adam Exp $
|
2006-06-17 19:20:56 +02:00
|
|
|
|
2008-09-08 14:58:09 +02:00
|
|
|
--- agent/mibgroup/host/hr_filesys.c.orig 2008-07-30 11:58:30.000000000 +0200
|
2007-02-05 13:06:16 +01:00
|
|
|
+++ agent/mibgroup/host/hr_filesys.c
|
2008-09-08 14:58:09 +02:00
|
|
|
@@ -96,6 +96,11 @@ struct mnttab *HRFS_entry = &HRFS_entry
|
2006-06-17 19:20:56 +02:00
|
|
|
|
|
|
|
#elif defined(HAVE_STATVFS) && defined(__NetBSD__)
|
|
|
|
|
2007-08-11 01:37:02 +02:00
|
|
|
+#if !defined(MFSNAMELEN) && defined(_VFS_NAMELEN)
|
|
|
|
+#define MFSNAMELEN _VFS_NAMELEN
|
|
|
|
+#endif
|
|
|
|
+
|
2006-06-17 19:20:56 +02:00
|
|
|
+#define getfsstat getvfsstat
|
|
|
|
static struct statvfs *fsstats = NULL;
|
|
|
|
struct statvfs *HRFS_entry;
|
|
|
|
static int fscount;
|