diff options
author | Theodore Ts'o <tytso@mit.edu> | 2018-06-23 23:00:50 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-06-23 23:00:50 -0400 |
commit | ac3256fd31d47ec75fababa7c1cd5d679750ed6f (patch) | |
tree | 607fd6456fa465326f10a89563ab303e8638d343 /e2fsck/e2fsck.h | |
parent | 60afa1d81664f8f7f39d5e4cf70b397e8d7154a7 (diff) | |
download | e2fsprogs-ac3256fd31d47ec75fababa7c1cd5d679750ed6f.tar.gz |
Fix gcc and clang warnings
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'e2fsck/e2fsck.h')
-rw-r--r-- | e2fsck/e2fsck.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/e2fsck/e2fsck.h b/e2fsck/e2fsck.h index e930d816..cd5cba2f 100644 --- a/e2fsck/e2fsck.h +++ b/e2fsck/e2fsck.h @@ -635,7 +635,8 @@ extern blk64_t get_backup_sb(e2fsck_t ctx, ext2_filsys fs, const char *name, io_manager manager); extern int ext2_file_type(unsigned int mode); extern int write_all(int fd, char *buf, size_t count); -void dump_mmp_msg(struct mmp_struct *mmp, const char *fmt, ...); +void dump_mmp_msg(struct mmp_struct *mmp, const char *fmt, ...) + E2FSCK_ATTR((format(printf, 2, 3))); errcode_t e2fsck_mmp_update(ext2_filsys fs); extern void e2fsck_set_bitmap_type(ext2_filsys fs, |