summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
Diffstat (limited to 'daemon')
-rw-r--r--daemon/snmp-engine.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/daemon/snmp-engine.c b/daemon/snmp-engine.c
index e4bf9b7..479bc85 100644
--- a/daemon/snmp-engine.c
+++ b/daemon/snmp-engine.c
@@ -541,11 +541,11 @@ receive_resp(int fd, int type, void* arg)
{
msg = snmp_get_errmsg (pdu.error_status);
if(msg)
- rb_message(LOG_ERR, "snmp error from host '%s': %s",
- hostname, msg);
+ rb_messagex(LOG_ERR, "snmp error from host '%s': %s",
+ hostname, msg);
else
- rb_message(LOG_ERR, "unknown snmp error from host '%s': %d",
- hostname, pdu.error_status);
+ rb_messagex(LOG_ERR, "unknown snmp error from host '%s': %d",
+ hostname, pdu.error_status);
return;
}