adfs: add __printf verification, fix format/argument mismatches
[firefly-linux-kernel-4.4.55.git] / fs / adfs / dir.c
index 0d138c0de293ed3512046058b5ff96cac8c744ad..51c279a29845e6870125469b18fd06ccdd99f64f 100644 (file)
@@ -138,7 +138,7 @@ adfs_dir_lookup_byname(struct inode *inode, struct qstr *name, struct object_inf
                goto out;
 
        if (ADFS_I(inode)->parent_id != dir.parent_id) {
-               adfs_error(sb, "parent directory changed under me! (%lx but got %lx)\n",
+               adfs_error(sb, "parent directory changed under me! (%lx but got %x)\n",
                           ADFS_I(inode)->parent_id, dir.parent_id);
                ret = -EIO;
                goto free_out;