summaryrefslogtreecommitdiffstats
path: root/Examine.c
diff options
context:
space:
mode:
Diffstat (limited to 'Examine.c')
-rw-r--r--Examine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examine.c b/Examine.c
index 983f90a..2dd76b5 100644
--- a/Examine.c
+++ b/Examine.c
@@ -162,7 +162,7 @@ int Examine(mddev_dev_t devlist, int brief, int scan, int SparcAdjust)
if (calc_sb_csum(&super) == super.sb_csum)
printf(" Checksum : %x - correct\n", super.sb_csum);
else
- printf(" Checksum : %x - expected %x\n", super.sb_csum, calc_sb_csum(&super));
+ printf(" Checksum : %x - expected %lx\n", super.sb_csum, calc_sb_csum(&super));
if (SparcAdjust) {
/* 2.2 sparc put the events in the wrong place
* So we copy the tail of the superblock