提交 fab3c858 编写于 作者: J Joe Perches 提交者: Jan Kara

fs/udf: Add printf format/argument verification

Add __attribute__((format... to udf_warning.

All arguments matched formats, no other changes necessary.
Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NJan Kara <jack@suse.cz>
上级 ed2ae6f6
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册