fs/udf: Add printf format/argument verification
Add __attribute__((format... to udf_warning. All arguments matched formats, no other changes necessary. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
parent
ed2ae6f691
commit
fab3c8581f
1 changed files with 2 additions and 0 deletions
|
@ -111,6 +111,8 @@ struct extent_position {
|
|||
};
|
||||
|
||||
/* super.c */
|
||||
|
||||
__attribute__((format(printf, 3, 4)))
|
||||
extern void udf_warning(struct super_block *, const char *, const char *, ...);
|
||||
static inline void udf_updated_lvid(struct super_block *sb)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue