/* careful here.. if there is no device, we are scanning the
* first two lines that are not useful to us
@@ -327,8 +329,9 @@ static int scanmdstat(struct devlisthead *devlisthead)
if (!(line[0] == 'm' && line[1] == 'd'))
continue;
/* scan only raids that are active */
if (strcmp(status, "active"))
@@ -408,7 +411,8 @@ static int scanmapper(struct devlisthead *devlisthead)
if (!start)
continue;