summaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-08-15 11:38:13 -0400
committerTheodore Ts'o <tytso@mit.edu>2015-08-15 11:38:13 -0400
commitda0b5e40ab10f44019a1ecec09fadfcd5bdb76b6 (patch)
tree9088cd8199acd158f562864df23cf10550405ee0 /fs/ext4
parent9810446836ab5a4b34a749bb77f3eb5836f982cc (diff)
downloadop-kernel-dev-da0b5e40ab10f44019a1ecec09fadfcd5bdb76b6.zip
op-kernel-dev-da0b5e40ab10f44019a1ecec09fadfcd5bdb76b6.tar.gz
ext4: silence a format string false positive
Static checkers complain that the format string should be "%s". It does not make a difference for the current code. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/mmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/mmp.c b/fs/ext4/mmp.c
index 048c52a..6eb1a61 100644
--- a/fs/ext4/mmp.c
+++ b/fs/ext4/mmp.c
@@ -115,7 +115,7 @@ warn_exit:
void __dump_mmp_msg(struct super_block *sb, struct mmp_struct *mmp,
const char *function, unsigned int line, const char *msg)
{
- __ext4_warning(sb, function, line, msg);
+ __ext4_warning(sb, function, line, "%s", msg);
__ext4_warning(sb, function, line,
"MMP failure info: last update time: %llu, last update "
"node: %s, last update device: %s\n",
OpenPOWER on IntegriCloud