artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
636799c
)
Fix format string in DEBUG message (not compiled by default).
author
reyk
<reyk@openbsd.org>
Wed, 23 Apr 2014 15:45:16 +0000
(15:45 +0000)
committer
reyk
<reyk@openbsd.org>
Wed, 23 Apr 2014 15:45:16 +0000
(15:45 +0000)
ok blambert@
usr.sbin/relayd/snmp.c
patch
|
blob
|
history
diff --git
a/usr.sbin/relayd/snmp.c
b/usr.sbin/relayd/snmp.c
index
2094413
..
ebc19fe
100644
(file)
--- a/
usr.sbin/relayd/snmp.c
+++ b/
usr.sbin/relayd/snmp.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: snmp.c,v 1.1
5 2014/04/20 16:23:33
reyk Exp $ */
+/* $OpenBSD: snmp.c,v 1.1
6 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);
+ oid
str
, type, buf, val);
if (snmp_string2oid(oidstr, &oid) == -1)
return (-1);