diff options
author | Joe Perches <joe@perches.com> | 2010-11-10 15:46:18 -0800 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2011-01-06 17:03:54 +0100 |
commit | fab3c8581fc49998f8d0d349b70813d9712fb405 (patch) | |
tree | 12d50f6e7978a530787d4fb289988dd88adf5337 /fs/udf | |
parent | ed2ae6f69148dcf9da725364e17184f27ba04dc2 (diff) | |
download | kernel-common-fab3c8581fc49998f8d0d349b70813d9712fb405.tar.gz kernel-common-fab3c8581fc49998f8d0d349b70813d9712fb405.tar.bz2 kernel-common-fab3c8581fc49998f8d0d349b70813d9712fb405.zip |
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>
Diffstat (limited to 'fs/udf')
-rw-r--r-- | fs/udf/udfdecl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/udf/udfdecl.h b/fs/udf/udfdecl.h index 6995ab1f4305..74d58c08ebac 100644 --- a/fs/udf/udfdecl.h +++ b/fs/udf/udfdecl.h @@ -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) { |