diff options
author | 2014-04-23 15:45:16 +0000 | |
---|---|---|
committer | 2014-04-23 15:45:16 +0000 | |
commit | f22e506a4951053501a4c22f60b814dfbdb9e157 (patch) | |
tree | 17d2492761c3b01fdca80bc3ba1d96764d2df4c2 | |
parent | remove Z option and default to something halfway to J. (diff) | |
download | wireguard-openbsd-f22e506a4951053501a4c22f60b814dfbdb9e157.tar.xz wireguard-openbsd-f22e506a4951053501a4c22f60b814dfbdb9e157.zip |
Fix format string in DEBUG message (not compiled by default).
ok blambert@
-rw-r--r-- | usr.sbin/relayd/snmp.c | 4 |
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); |