summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2014-04-23 15:45:17 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2014-04-23 15:45:17 +0000
commite24f9a8adea024d595871a87ea35dbfc18b92e87 (patch)
tree131e5d60f23cb4fedda69d04b19a1c2a4f79154b /usr.sbin/relayd
parentbc71bdee62581b1006604961a4607b238c44b70f (diff)
Fix format string in DEBUG message (not compiled by default).
ok blambert@
Diffstat (limited to 'usr.sbin/relayd')
-rw-r--r--usr.sbin/relayd/snmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/relayd/snmp.c b/usr.sbin/relayd/snmp.c
index 20944137ade..ebc19fe559a 100644
--- a/usr.sbin/relayd/snmp.c
+++ b/usr.sbin/relayd/snmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: snmp.c,v 1.15 2014/04/20 16:23:33 reyk Exp $ */
+/* $OpenBSD: snmp.c,v 1.16 2014/04/23 15:45:16 reyk Exp $ */
/*
* Copyright (c) 2008 Reyk Floeter <reyk@openbsd.org>
@@ -248,7 +248,7 @@ snmp_element(const char *oidstr, enum snmp_type type, void *buf, int64_t val,
struct snmp_oid oid;
DPRINTF("%s: oid %s type %d buf %p val %lld", __func__,
- oid, type, buf, val);
+ oidstr, type, buf, val);
if (snmp_string2oid(oidstr, &oid) == -1)
return (-1);