]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Monitor.c
Replace sysarray with mdinfo
[thirdparty/mdadm.git] / Monitor.c
index d43e5531056a531982c28904209ae55acddd187d..6b0c760b94e45f5c64dd08c35ffc1aa1732709fc 100644 (file)
--- 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];