From: Ben Pfaff Date: Thu, 28 Jul 2011 16:45:02 +0000 (-0700) Subject: vlog: Fix typo in VLOG_IS_ERR_ENABLED macro definition. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a3d2fef9775498320ca7ea014dbdc4cbb14bbb2;p=openvswitch 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. --- 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)