diff options
-rw-r--r-- | net/net-snmp/patches/patch-ab | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/net-snmp/patches/patch-ab b/net/net-snmp/patches/patch-ab index 08c237277ce..aa95b92f20b 100644 --- a/net/net-snmp/patches/patch-ab +++ b/net/net-snmp/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.7 2006/06/17 17:20:56 christos Exp $ +$NetBSD: patch-ab,v 1.8 2006/06/19 13:46:02 christos Exp $ --- agent/mibgroup/ucd-snmp/diskio.c.orig 2005-12-04 09:25:54.000000000 -0500 -+++ agent/mibgroup/ucd-snmp/diskio.c 2006-06-17 13:09:51.000000000 -0400 -@@ -419,6 +419,150 @@ ++++ agent/mibgroup/ucd-snmp/diskio.c 2006-06-19 09:44:25.000000000 -0400 +@@ -419,6 +419,151 @@ } #endif /* bsdi */ @@ -11,6 +11,7 @@ $NetBSD: patch-ab,v 1.7 2006/06/17 17:20:56 christos Exp $ +static int ndisk; +static int nmib[2] = {CTL_HW, HW_DISKNAMES}; +#ifdef HW_DISKSTATS ++#include <sys/disk.h> +static int dmib[3] = {CTL_HW, HW_DISKSTATS, sizeof(struct disk_sysctl)}; +static struct disk_sysctl *dk; +#endif |