From 8a3d2fef9775498320ca7ea014dbdc4cbb14bbb2 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 28 Jul 2011 09:45:02 -0700 Subject: [PATCH] vlog: Fix typo in VLOG_IS_ERR_ENABLED macro definition. This does not fix any real bug because VLOG_IS_ERR_ENABLED is not used anywhere in the tree. --- lib/vlog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vlog.h b/lib/vlog.h index 1a11f598..7c439f22 100644 --- a/lib/vlog.h +++ b/lib/vlog.h @@ -198,7 +198,7 @@ void vlog_rate_limit(const struct vlog_module *, enum vlog_level, * THIS_MODULE. When constructing a log message is expensive, this enables it * to be skipped. */ #define VLOG_IS_EMER_ENABLED() true -#define VLOG_IS_ERR_ENABLED() vlog_is_enabled(THIS_MODULE, VLL_EMER) +#define VLOG_IS_ERR_ENABLED() vlog_is_enabled(THIS_MODULE, VLL_ERR) #define VLOG_IS_WARN_ENABLED() vlog_is_enabled(THIS_MODULE, VLL_WARN) #define VLOG_IS_INFO_ENABLED() vlog_is_enabled(THIS_MODULE, VLL_INFO) #define VLOG_IS_DBG_ENABLED() vlog_is_enabled(THIS_MODULE, VLL_DBG) -- 2.30.2