aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r--drivers/md/md.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 742a82a4d10b..27db100d8b12 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -1667,7 +1667,7 @@ __ATTR(slot, 0644, slot_show, slot_store);
1667static ssize_t 1667static ssize_t
1668offset_show(mdk_rdev_t *rdev, char *page) 1668offset_show(mdk_rdev_t *rdev, char *page)
1669{ 1669{
1670 return sprintf(page, "%llu\n", rdev->data_offset); 1670 return sprintf(page, "%llu\n", (unsigned long long)rdev->data_offset);
1671} 1671}
1672 1672
1673static ssize_t 1673static ssize_t