summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'log.c')
-rw-r--r--log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/log.c b/log.c
index 076fa00bfd..e1c9ed7471 100644
--- a/log.c
+++ b/log.c
@@ -278,7 +278,7 @@ void log_meta(
int saved_errno;
- if (LOG_PRI(level) > log_max_level)
+ if (_likely(LOG_PRI(level) > log_max_level))
return;
saved_errno = errno;