aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp4/files
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2002-03-07 03:02:37 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2002-03-07 03:02:37 +0000
commit54efd30dae6e4de1df5334a94c66ad6024841957 (patch)
tree27342b5862e28917be30e60b5781e2ba0d7aebdb /net-mgmt/net-snmp4/files
parent94af2756c133326e3228e72758a0b92eb7e68e5a (diff)
Notes
Diffstat (limited to 'net-mgmt/net-snmp4/files')
-rw-r--r--net-mgmt/net-snmp4/files/patch-memory_freebsd2.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp4/files/patch-memory_freebsd2.c b/net-mgmt/net-snmp4/files/patch-memory_freebsd2.c
new file mode 100644
index 000000000000..e06a3266f224
--- /dev/null
+++ b/net-mgmt/net-snmp4/files/patch-memory_freebsd2.c
@@ -0,0 +1,11 @@
+--- agent/mibgroup/ucd-snmp/memory_freebsd2.c.orig Mon Sep 17 06:16:16 2001
++++ agent/mibgroup/ucd-snmp/memory_freebsd2.c Mon Mar 4 10:00:56 2002
+@@ -232,7 +232,7 @@
+ size_t total_size = sizeof (total);
+ int total_mib[] = { CTL_VM, VM_METER };
+
+- long phys_mem;
++ u_long phys_mem;
+ size_t phys_mem_size = sizeof(phys_mem);
+ int phys_mem_mib[] = { CTL_HW, HW_USERMEM };
+