summaryrefslogtreecommitdiff
path: root/mdstat.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-12-14 20:13:43 +1100
committerNeil Brown <neilb@suse.de>2007-12-14 20:13:43 +1100
commitaba69144fd44fc261c943b0cec540751cfcd29bd (patch)
tree56aebc333f4ebf597efd556381470665ddc14c14 /mdstat.c
parent08e43379e5e01c8386e7f68f760e11cbe1e42210 (diff)
Remove spaces/tabs from ends of lines.
Diffstat (limited to 'mdstat.c')
-rw-r--r--mdstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdstat.c b/mdstat.c
index 335e1e58..a8f7ce75 100644
--- 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);