summaryrefslogtreecommitdiffstats
path: root/managemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'managemon.c')
-rw-r--r--managemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/managemon.c b/managemon.c
index e335077..3a20e2b 100644
--- a/managemon.c
+++ b/managemon.c
@@ -410,7 +410,7 @@ static void manage_member(struct mdstat_ent *mdstat,
newd = malloc(sizeof(*newd));
if (!newd)
continue;
- if (sysfs_add_disk(&newa->info, d, 0) < 0) {
+ if (sysfs_add_disk(&newa->info, d) < 0) {
free(newd);
continue;
}