1
0
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:
Zdenek Kabelac 2011-03-29 21:56:53 +00:00
parent 6460d5a405
commit 6076185b70

View File

@ -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;