From f22e506a4951053501a4c22f60b814dfbdb9e157 Mon Sep 17 00:00:00 2001 From: reyk Date: Wed, 23 Apr 2014 15:45:16 +0000 Subject: [PATCH] Fix format string in DEBUG message (not compiled by default). ok blambert@ --- usr.sbin/relayd/snmp.c | 4 ++-- 1 file 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 @@ -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); -- 2.20.1