diff options
author | Joe Perches <joe@perches.com> | 2014-08-08 17:22:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-08 18:57:24 -0400 |
commit | 19bdd41a57e1418b8661148125e9b6d99f468c1b (patch) | |
tree | ac4ee897befd5c00b73de284bd0fe97f4577b380 /fs/adfs/dir.c | |
parent | b16214d43d9060722360360f741416660b54c4f5 (diff) |
adfs: add __printf verification, fix format/argument mismatches
Might as well do the right thing.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/adfs/dir.c')
-rw-r--r-- | fs/adfs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/adfs/dir.c b/fs/adfs/dir.c index 0d138c0de293..51c279a29845 100644 --- a/fs/adfs/dir.c +++ b/fs/adfs/dir.c | |||
@@ -138,7 +138,7 @@ adfs_dir_lookup_byname(struct inode *inode, struct qstr *name, struct object_inf | |||
138 | goto out; | 138 | goto out; |
139 | 139 | ||
140 | if (ADFS_I(inode)->parent_id != dir.parent_id) { | 140 | if (ADFS_I(inode)->parent_id != dir.parent_id) { |
141 | adfs_error(sb, "parent directory changed under me! (%lx but got %lx)\n", | 141 | adfs_error(sb, "parent directory changed under me! (%lx but got %x)\n", |
142 | ADFS_I(inode)->parent_id, dir.parent_id); | 142 | ADFS_I(inode)->parent_id, dir.parent_id); |
143 | ret = -EIO; | 143 | ret = -EIO; |
144 | goto free_out; | 144 | goto free_out; |