summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2008-01-17 23:36:27 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2008-01-17 23:36:27 +0000
commit844dd87e32018dca85be620e4ffaf34caaf71314 (patch)
tree90348907f80904be1af65500ae90d34f00882176 /usr.sbin/snmpd
parent29e547e6003ad05540e5c055c74d7d9e14bb8d72 (diff)
swap arguments
Diffstat (limited to 'usr.sbin/snmpd')
-rw-r--r--usr.sbin/snmpd/trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/snmpd/trap.c b/usr.sbin/snmpd/trap.c
index d9c42c87352..e7a7a83f7f0 100644
--- a/usr.sbin/snmpd/trap.c
+++ b/usr.sbin/snmpd/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.6 2008/01/17 22:55:07 reyk Exp $ */
+/* $OpenBSD: trap.c,v 1.7 2008/01/17 23:36:26 reyk Exp $ */
/*
* Copyright (c) 2008 Reyk Floeter <reyk@vantronix.net>
@@ -184,7 +184,7 @@ trap_imsg(struct imsgbuf *ibuf, pid_t pid)
if (varbind != NULL)
len = ber_calc_len(varbind);
log_debug("trap_imsg: from pid %u len %d elements %d",
- pid, x, len);
+ pid, len, x);
trap_send(&o, varbind);
ret = 0;