mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-14 12:20:00 +01:00
annotate two function with __attribute__ ((format (printf...
Helps to find format strings bugs..
This commit is contained in:
committed by
Milan Broz
parent
0db77f3ace
commit
ae23ecb9b2
@@ -57,7 +57,7 @@ extern int opt_force_password;
|
||||
|
||||
/* Common tools */
|
||||
void clogger(struct crypt_device *cd, int level, const char *file, int line,
|
||||
const char *format, ...);
|
||||
const char *format, ...) __attribute__ ((format (printf, 5, 6)));
|
||||
void tool_log(int level, const char *msg, void *usrptr __attribute__((unused)));
|
||||
void quiet_log(int level, const char *msg, void *usrptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user