aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp-devel/files/patch-hr_disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/net-snmp-devel/files/patch-hr_disk.c')
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-hr_disk.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/net-mgmt/net-snmp-devel/files/patch-hr_disk.c b/net-mgmt/net-snmp-devel/files/patch-hr_disk.c
index b4f2c66a92f8..4afa759aafa6 100644
--- a/net-mgmt/net-snmp-devel/files/patch-hr_disk.c
+++ b/net-mgmt/net-snmp-devel/files/patch-hr_disk.c
@@ -1,11 +1,12 @@
---- 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)
+--- agent/mibgroup/host/hr_disk.c.orig Sat Apr 20 16:30:03 2002
++++ agent/mibgroup/host/hr_disk.c Wed Apr 24 01:33:15 2002
+@@ -185,6 +185,9 @@
+ "/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(__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');