diff options
author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2008-11-06 15:53:56 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-11-06 18:41:21 -0500 |
commit | 0e75f5da06c05425f4b375eb981c4489fb2d9787 (patch) | |
tree | 58ffca2561f689aa253274376d440ae35ddee1b5 /fs/fat | |
parent | fa93ca18a8b0da4e26bd9491ad144cd14d22f8ec (diff) |
fat: Add printf attribute to fat_fs_panic()
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fat')
-rw-r--r-- | fs/fat/fat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/fat/fat.h b/fs/fat/fat.h index e9dce5d8e7a7..a69f7f9757c0 100644 --- a/fs/fat/fat.h +++ b/fs/fat/fat.h | |||
@@ -308,7 +308,8 @@ extern int fat_fill_super(struct super_block *sb, void *data, int silent, | |||
308 | extern int fat_flush_inodes(struct super_block *sb, struct inode *i1, | 308 | extern int fat_flush_inodes(struct super_block *sb, struct inode *i1, |
309 | struct inode *i2); | 309 | struct inode *i2); |
310 | /* fat/misc.c */ | 310 | /* fat/misc.c */ |
311 | extern void fat_fs_panic(struct super_block *s, const char *fmt, ...); | 311 | extern void fat_fs_panic(struct super_block *s, const char *fmt, ...) |
312 | __attribute__ ((format (printf, 2, 3))) __cold; | ||
312 | extern void fat_clusters_flush(struct super_block *sb); | 313 | extern void fat_clusters_flush(struct super_block *sb); |
313 | extern int fat_chain_add(struct inode *inode, int new_dclus, int nr_cluster); | 314 | extern int fat_chain_add(struct inode *inode, int new_dclus, int nr_cluster); |
314 | extern void fat_time_fat2unix(struct msdos_sb_info *sbi, struct timespec *ts, | 315 | extern void fat_time_fat2unix(struct msdos_sb_info *sbi, struct timespec *ts, |