More compile fixes (this is getting a bit ridiculous)

Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
Doug Ledford 2011-03-26 14:24:38 -04:00
parent 7e15eefc27
commit 5c2839000f

View File

@ -61,6 +61,17 @@
} while (rv2!=2);
/* Incase there are stacked devices, we need to go around again */
} while (acnt);
--- mdadm-3.1.5/mdmon.c.param 2011-03-26 14:22:46.397366178 -0400
+++ mdadm-3.1.5/mdmon.c 2011-03-26 14:23:57.834516123 -0400
@@ -513,6 +513,8 @@ static int mdmon(char *devname, int devn
close(2);
ignore = dup(0);
#endif
+ if (ignore)
+ ignore++;
do_manager(container);
--- mdadm-3.1.5/super1.c.param 2011-03-26 13:51:30.166019581 -0400
+++ mdadm-3.1.5/super1.c 2011-03-26 13:55:02.995382097 -0400
@@ -111,7 +111,6 @@ static unsigned int calc_sb_1_csum(struc