diff options
Diffstat (limited to 'lib/agentx.c')
| -rw-r--r-- | lib/agentx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/agentx.c b/lib/agentx.c index 8e6493d4d3..e4d35854fa 100644 --- a/lib/agentx.c +++ b/lib/agentx.c @@ -158,7 +158,8 @@ static int agentx_log_callback(int major, int minor, void *serverarg, "snmp[err]: %s", msg ? msg : slm->msg); break; case LOG_WARNING: - zlog_warn("snmp[warning]: %s", msg ? msg : slm->msg); + flog_warn(LIB_WARN_SNMP, + "snmp[warning]: %s", msg ? msg : slm->msg); break; case LOG_NOTICE: zlog_notice("snmp[notice]: %s", msg ? msg : slm->msg); |
