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:
parent
84f00f5058
commit
43e4bfe428
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user