Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fab3c858 authored by Joe Perches's avatar Joe Perches Committed by Jan Kara
Browse files

fs/udf: Add printf format/argument verification



Add __attribute__((format... to udf_warning.

All arguments matched formats, no other changes necessary.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent ed2ae6f6
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)
{