1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

Add attribute printf

This commit is contained in:
Zdenek Kabelac 2011-03-29 21:56:53 +00:00
parent b29742d2fa
commit 8207745583

View File

@ -1050,6 +1050,7 @@ static int _udevreleasecookie(CMD_ARGS)
return dm_udev_wait(_udev_cookie);
}
__attribute__((format(printf, 1, 2)))
static char _yes_no_prompt(const char *prompt, ...)
{
int c = 0, ret = 0;