1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

cov: annotate

This commit is contained in:
Zdenek Kabelac 2024-09-30 14:47:03 +02:00
parent 0e1e220c3d
commit 28e7be9f39

View File

@ -591,6 +591,7 @@ static void _vprint_log(int level, const char *file, int line, int dm_errno_or_c
(_log_report.report && !log_bypass_report && (use_stderr || (level <=_LOG_WARN))) ||
log_once) {
va_copy(ap, orig_ap);
/* coverity[format_string_injection] our code expectes this behavior. */
n = vsnprintf(message, sizeof(message), trformat, ap);
va_end(ap);