aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2018-05-17 16:47:08 +0200
committerDave Wallace <dwallacelf@gmail.com>2018-05-17 16:41:28 +0000
commited984e0b3ba8480123b0406926337b1045407f75 (patch)
tree3da51dff6237b47adb21be30edc9e6e96f843669 /src/vlib
parentc3267ed944b47c5894be916cb9a440413b8802f8 (diff)
vlib: Fix WARN-ING macro in function
Change-Id: I238106c2afc46904fb0eb17164f30dbd1378892e Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vlib')
-rw-r--r--src/vlib/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/log.h b/src/vlib/log.h
index bc73c1c1525..d21bca9f195 100644
--- a/src/vlib/log.h
+++ b/src/vlib/log.h
@@ -48,7 +48,7 @@ void vlib_log (vlib_log_level_t level, vlib_log_class_t class, char *fmt,
#define vlib_log_alert(...) vlib_log(VLIB_LOG_LEVEL_ALERT, __VA_ARGS__)
#define vlib_log_crit(...) vlib_log(VLIB_LOG_LEVEL_CRIT, __VA_ARGS__)
#define vlib_log_err(...) vlib_log(VLIB_LOG_LEVEL_ERR, __VA_ARGS__)
-#define vlib_log_warn(...) vlib_log(VLIB_LOG_LEVEL_WARN, __VA_ARGS__)
+#define vlib_log_warn(...) vlib_log(VLIB_LOG_LEVEL_WARNING, __VA_ARGS__)
#define vlib_log_notice(...) vlib_log(VLIB_LOG_LEVEL_NOTICE, __VA_ARGS__)
#define vlib_log_info(...) vlib_log(VLIB_LOG_LEVEL_INFO, __VA_ARGS__)
#define vlib_log_debug(...) vlib_log(VLIB_LOG_LEVEL_DEBUG, __VA_ARGS__)