X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2Fhpfs%2Fhpfs_fn.h;h=1c07aa82d32787ef3e7751c1f04c11ce0e8e8483;hb=cd39301a68f9604854f3543117b01dc73cbe193f;hp=32ab51e42b967e374726e9d5681c2970f55520e3;hpb=e18fa700c9a31360bc8f193aa543b7ef7b39a06b;p=powerpc.git diff --git a/fs/hpfs/hpfs_fn.h b/fs/hpfs/hpfs_fn.h index 32ab51e42b..1c07aa82d3 100644 --- a/fs/hpfs/hpfs_fn.h +++ b/fs/hpfs/hpfs_fn.h @@ -317,7 +317,8 @@ static inline struct hpfs_sb_info *hpfs_sb(struct super_block *sb) /* super.c */ -void hpfs_error(struct super_block *, char *, ...); +void hpfs_error(struct super_block *, const char *, ...) + __attribute__((format (printf, 2, 3))); int hpfs_stop_cycles(struct super_block *, int, int *, int *, char *); unsigned hpfs_count_one_bitmap(struct super_block *, secno);