summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 742a82a..27db100 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -1667,7 +1667,7 @@ __ATTR(slot, 0644, slot_show, slot_store);
static ssize_t
offset_show(mdk_rdev_t *rdev, char *page)
{
- return sprintf(page, "%llu\n", rdev->data_offset);
+ return sprintf(page, "%llu\n", (unsigned long long)rdev->data_offset);
}
static ssize_t
OpenPOWER on IntegriCloud