X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fmdadm.git;a=blobdiff_plain;f=Monitor.c;h=6b0c760b94e45f5c64dd08c35ffc1aa1732709fc;hp=d43e5531056a531982c28904209ae55acddd187d;hb=7e0f69790c47b21c4aa7636a4b05925687c80a6e;hpb=06c7f68e40134cbef3186426ebf63c4f6d4e30f5 diff --git a/Monitor.c b/Monitor.c index d43e5531..6b0c760b 100644 --- a/Monitor.c +++ b/Monitor.c @@ -312,7 +312,7 @@ int Monitor(mddev_dev_t devlist, * If there is a number in /mismatch_cnt, * we should report that. */ - struct sysarray *sra = + struct mdinfo *sra = sysfs_read(-1, st->devnum, GET_MISMATCH); if (sra && sra->mismatch_cnt > 0) { char cnt[40];