mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Add attribute printf
This commit is contained in:
parent
6460d5a405
commit
6076185b70
@ -1050,6 +1050,7 @@ static int _udevreleasecookie(CMD_ARGS)
|
|||||||
return dm_udev_wait(_udev_cookie);
|
return dm_udev_wait(_udev_cookie);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
__attribute__((format(printf, 1, 2)))
|
||||||
static char _yes_no_prompt(const char *prompt, ...)
|
static char _yes_no_prompt(const char *prompt, ...)
|
||||||
{
|
{
|
||||||
int c = 0, ret = 0;
|
int c = 0, ret = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user