diff options
author | gdt <gdt@pkgsrc.org> | 2013-03-17 00:18:31 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2013-03-17 00:18:31 +0000 |
commit | e825020b2535822a02ccd98ba635805e987cc237 (patch) | |
tree | 43080ed871bd66d1ec72d10aec67a521083caa79 /net | |
parent | b879737d2976d2f04cc2b02904475e625cd601e3 (diff) | |
download | pkgsrc-e825020b2535822a02ccd98ba635805e987cc237.tar.gz |
Add forgotten patchfile.
Diffstat (limited to 'net')
-rw-r--r-- | net/net-snmp/patches/patch-agent_mibgroup_hardware_memory_memory__netbsd.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/net-snmp/patches/patch-agent_mibgroup_hardware_memory_memory__netbsd.c b/net/net-snmp/patches/patch-agent_mibgroup_hardware_memory_memory__netbsd.c new file mode 100644 index 00000000000..7a38fabbeda --- /dev/null +++ b/net/net-snmp/patches/patch-agent_mibgroup_hardware_memory_memory__netbsd.c @@ -0,0 +1,13 @@ +$NetBSD: patch-agent_mibgroup_hardware_memory_memory__netbsd.c,v 1.1 2013/03/17 00:18:31 gdt Exp $ + +--- agent/mibgroup/hardware/memory/memory_netbsd.c.orig 2012-10-09 22:28:58.000000000 +0000 ++++ agent/mibgroup/hardware/memory/memory_netbsd.c +@@ -174,7 +174,7 @@ int netsnmp_mem_arch_load( netsnmp_cache + mem->descr = strdup("Memory buffers"); + mem->units = 1024; + mem->size = maxbufspace /1024; +- mem->size = (maxbufspace - bufspace)/1024; ++ mem->free = (maxbufspace - bufspace)/1024; + } + #endif + |