summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/block_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c
index 10e21465d5a9..666367e13711 100644
--- a/fs/block_dev.c
+++ b/fs/block_dev.c
@@ -776,7 +776,7 @@ int bdev_dax_supported(struct super_block *sb, int blocksize)
if (len < 1) {
vfs_msg(sb, KERN_ERR,
- "error: dax access failed (%d)", len);
+ "error: dax access failed (%ld)", len);
return len < 0 ? len : -EIO;
}