summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Assemble.c2
-rw-r--r--config.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Assemble.c b/Assemble.c
index adc47866..32e05b03 100644
--- a/Assemble.c
+++ b/Assemble.c
@@ -48,7 +48,7 @@ static int name_matches(char *found, char *required, char *homehost)
static int is_member_busy(char *metadata_version)
{
/* check if the given member array is active */
- struct mdstat_ent *mdstat = mdstat_read(1, 0);
+ struct mdstat_ent *mdstat = mdstat_read(0, 0);
struct mdstat_ent *ent;
int busy = 0;
diff --git a/config.c b/config.c
index 5c8b03a3..2c7bb63c 100644
--- a/config.c
+++ b/config.c
@@ -150,7 +150,7 @@ struct mddev_dev *load_partitions(void)
struct mddev_dev *load_containers(void)
{
- struct mdstat_ent *mdstat = mdstat_read(1, 0);
+ struct mdstat_ent *mdstat = mdstat_read(0, 0);
struct mdstat_ent *ent;
struct mddev_dev *d;
struct mddev_dev *rv = NULL;