Skip to contentSkip to conversation

LVM2/tools dmsetup.c

PATCH [email protected] 1 participant 1 message Mar 29, 2011

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2011-03-29 21:56:53

Modified files:
tools : dmsetup.c

Log message:
Add attribute printf

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/dmsetup.c.diff?cvsroot=lvm2&r1=1.157&r2=1.158

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