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

cov: ignore error of vsnprintf

This commit is contained in:
Zdenek Kabelac 2018-10-15 17:37:30 +02:00
parent 84f00f5058
commit 43e4bfe428

View File

@ -154,7 +154,7 @@ static void _set_error(struct dm_vdo_status_parse_result *result, const char *fm
va_list ap;
va_start(ap, fmt);
vsnprintf(result->error, sizeof(result->error), fmt, ap);
(void) vsnprintf(result->error, sizeof(result->error), fmt, ap);
va_end(ap);
}