Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:507
net-snmp.openSUSE_11.4_Update
net-snmp-5.6.1-fix-format-specification-mismatc...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File net-snmp-5.6.1-fix-format-specification-mismatch.patch of Package net-snmp.openSUSE_11.4_Update
commit 4dc6aa686dc7f6bb36c054532ef2662b262ce5c5 Author: Bart Van Assche <bvassche@users.sourceforge.net> Date: Wed Jan 12 19:04:39 2011 +0000 Fixed a compiler warning (format specification mismatch) that was introduced in r19808 ("snmpd: PATCHES: 2975254: Avoid callback re-use of closed sessions"). git-svn-id: file:///home/hardaker/lib/sf-bkups/net-snmp-convert-svnrepo/branches/V5-6-patches@19856 06827809-a52a-0410-b366-d66718629ded Index: net-snmp-5.6.1/agent/helpers/cache_handler.c =================================================================== --- net-snmp-5.6.1.orig/agent/helpers/cache_handler.c +++ net-snmp-5.6.1/agent/helpers/cache_handler.c @@ -526,7 +526,7 @@ netsnmp_cache_helper_handler(netsnmp_mib "cache not found, disabled or had no load method\n")); return SNMP_ERR_NOERROR; } - snprintf(addrstr,sizeof(addrstr), "%ld", cache); + snprintf(addrstr, sizeof(addrstr), "%p", cache); DEBUGMSGTL(("helper:cache_handler", "using cache %s: ", addrstr)); DEBUGMSGOID(("helper:cache_handler", cache->rootoid, cache->rootoid_len)); DEBUGMSG(("helper:cache_handler", "\n")); Index: net-snmp-5.6.1/agent/mibgroup/agentx/subagent.c =================================================================== --- net-snmp-5.6.1.orig/agent/mibgroup/agentx/subagent.c +++ net-snmp-5.6.1/agent/mibgroup/agentx/subagent.c @@ -110,7 +110,7 @@ subagent_init_callback_session(void) agentx_callback_sess = netsnmp_callback_open(callback_master_num, handle_subagent_response, NULL, NULL); - DEBUGMSGTL(("agentx/subagent", "subagent_init sess %08x\n", + DEBUGMSGTL(("agentx/subagent", "subagent_init sess %p\n", agentx_callback_sess)); } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor