diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-20 08:52:36 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-06 20:50:58 +0000 |
| commit | ffd9ac069c42fd03990ffdbdfcc1df0de81c7004 (patch) | |
| tree | 7b7f86fa17ec64e8925934de1ae8c3f319e449dd /lib/agentx.c | |
| parent | 78cb65556877087ab3d8d03e611c83ca6a455ed2 (diff) | |
lib: Convert to flog_warn in agentx.c
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
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); |
