summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-11-10 15:46:18 -0800
committerJan Kara <jack@suse.cz>2011-01-06 17:03:54 +0100
commitfab3c8581fc49998f8d0d349b70813d9712fb405 (patch)
tree12d50f6e7978a530787d4fb289988dd88adf5337 /fs
parented2ae6f69148dcf9da725364e17184f27ba04dc2 (diff)
downloadlinux-3.10-fab3c8581fc49998f8d0d349b70813d9712fb405.tar.gz
linux-3.10-fab3c8581fc49998f8d0d349b70813d9712fb405.tar.bz2
linux-3.10-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')
-rw-r--r--fs/udf/udfdecl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/udf/udfdecl.h b/fs/udf/udfdecl.h
index 6995ab1f430..74d58c08eba 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)
{