diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-24 04:23:15 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-24 04:23:15 +0200 |
commit | ab8cabad2643f392cf9fd3bf97c665c4d159692f (patch) | |
tree | eb392445578bcf0a7902b4a655c130fe02dfcb13 /log.c | |
parent | e6be8af492e8db1cd5e23595554b6c642f1b8138 (diff) |
log: use _likely() when verifying log level
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |