summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Ledford <dledford@redhat.com>2010-04-06 14:04:30 -0400
committerNeilBrown <neilb@suse.de>2010-04-07 09:19:42 +1000
commit94fcb80a8e0c6311636b2ee689a6ac5b7125afe6 (patch)
treeb1a62284f1c3bdf8ccbb07dcaff18f8b3243e425
parentebeb36638225e86826052400c1c538857bc7c461 (diff)
downloadmdadm-94fcb80a8e0c6311636b2ee689a6ac5b7125afe6.zip
mdadm-94fcb80a8e0c6311636b2ee689a6ac5b7125afe6.tar.gz
mdadm-94fcb80a8e0c6311636b2ee689a6ac5b7125afe6.tar.xz
powerpc compile fix
Signed-off-by: Doug Ledford <dledford@redhat.com> Signed-off-by: NeilBrown <neilb@suse.de>
-rw-r--r--super-intel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/super-intel.c b/super-intel.c
index a196ca3..999b970 100644
--- a/super-intel.c
+++ b/super-intel.c
@@ -697,7 +697,7 @@ static void print_imsm_dev(struct imsm_dev *dev, char *uuid, int disk_idx)
printf(" <-- %s", map_state_str[map->map_state]);
printf("\n Checkpoint : %u (%llu)",
__le32_to_cpu(dev->vol.curr_migr_unit),
- blocks_per_migr_unit(dev));
+ (unsigned long long)blocks_per_migr_unit(dev));
}
printf("\n");
printf(" Dirty State : %s\n", dev->vol.dirty ? "dirty" : "clean");