diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2002-04-09 00:31:17 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2002-04-09 00:31:17 +0000 |
commit | af620e968cae9fe1e3dbaf9b20efa019ccd3d8e9 (patch) | |
tree | 49c00d988508a1e5231d2bc9680fbd6f00ebf6ca /net/net-snmp/files/patch-hr_disk.c | |
parent | New port xvid snapshot release 20020404: An opensource MPEG-4 codec, (diff) |
Upgrade to 4.2.4.
Some of our patches are integrated into original distribution.
Enable diskio mib-module by default.
Notes
Notes:
svn path=/head/; revision=57474
Diffstat (limited to 'net/net-snmp/files/patch-hr_disk.c')
-rw-r--r-- | net/net-snmp/files/patch-hr_disk.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/net/net-snmp/files/patch-hr_disk.c b/net/net-snmp/files/patch-hr_disk.c index ea1ed0adf096..b4f2c66a92f8 100644 --- a/net/net-snmp/files/patch-hr_disk.c +++ b/net/net-snmp/files/patch-hr_disk.c @@ -1,12 +1,11 @@ ---- agent/mibgroup/host/hr_disk.c.orig Mon Nov 19 13:48:10 2001 -+++ agent/mibgroup/host/hr_disk.c Tue Feb 12 22:37:43 2002 -@@ -178,6 +178,9 @@ +--- agent/mibgroup/host/hr_disk.c.orig Tue Feb 26 01:57:26 2002 ++++ agent/mibgroup/host/hr_disk.c Fri Mar 29 16:06:29 2002 +@@ -185,7 +185,7 @@ #elif defined(solaris2) Add_HR_Disk_entry ( "/dev/rdsk/c%dt%dd0s%d", 0, 1, 0, 15, "/dev/rdsk/c%dt%dd0s0", 0, 7 ); Add_HR_Disk_entry ( "/dev/rdsk/c%dd%ds%d", 0, 1, 0, 15, "/dev/rdsk/c%dd%ds0", 0, 7 ); +-#elif defined(freebsd4) +#elif defined(__FreeBSD__) && __FreeBSD__ >= 4 -+ Add_HR_Disk_entry ( "/dev/ad%ds%d%c", 0, 1, 1, 4, "/dev/ad%ds%d", 'a', 'h'); -+ Add_HR_Disk_entry ( "/dev/da%ds%d%c", 0, 1, 1, 4, "/dev/da%ds%d", 'a', 'h'); + Add_HR_Disk_entry ( "/dev/ad%ds%d%c", 0, 1, 1, 4, "/dev/ad%ds%d", 'a', 'h'); + Add_HR_Disk_entry ( "/dev/da%ds%d%c", 0, 1, 1, 4, "/dev/da%ds%d", 'a', 'h'); #elif defined(freebsd3) - Add_HR_Disk_entry ( "/dev/wd%ds%d%c", 0, 1, 1, 4, "/dev/wd%ds%d", 'a', 'h'); - Add_HR_Disk_entry ( "/dev/sd%ds%d%c", 0, 1, 1, 4, "/dev/sd%ds%d", 'a', 'h'); |