Commit 9a54d645 authored by Pavel Emelyanov's avatar Pavel Emelyanov

log: Merge two loglevel checks

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 2b56175e
......@@ -187,10 +187,8 @@ void print_on_level(unsigned int loglevel, const char *format, ...)
if (loglevel > current_loglevel)
return;
fd = current_logfd;
}
if (loglevel != LOG_MSG)
print_ts();
}
va_start(params, format);
size = vsnprintf(buffer + buf_off, PAGE_SIZE - buf_off, format, params);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment