]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - mdstat.c
Replace sysarray with mdinfo
[thirdparty/mdadm.git] / mdstat.c
index 335e1e58b78aac7b12fb6137e4479db8b0ae928d..a8f7ce7576eb1d017acfe962a1dea48084cde5d2 100644 (file)
--- a/mdstat.c
+++ b/mdstat.c
@@ -161,7 +161,7 @@ struct mdstat_ent *mdstat_read(int hold, int start)
 
                ent->dev = strdup(line);
                ent->devnum = devnum;
-               
+
                for (w=dl_next(line); w!= line ; w=dl_next(w)) {
                        int l = strlen(w);
                        char *eq;
@@ -209,7 +209,7 @@ struct mdstat_ent *mdstat_read(int hold, int start)
                                   strncmp(w, "resync", 4)==0) {
                                ent->resync = 1;
                        } else if (ent->percent == -1 &&
-                                  w[0] >= '0' && 
+                                  w[0] >= '0' &&
                                   w[0] <= '9' &&
                                   w[l-1] == '%') {
                                ent->percent = atoi(w);