summaryrefslogtreecommitdiff
path: root/super0.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-07-09 17:18:09 +1000
committerNeilBrown <neilb@suse.de>2012-07-09 17:18:09 +1000
commitba728be72f4b3f0b5cf56d19670a5cf117b0e373 (patch)
tree11f8d0ab96533c6338e99a79091036d7b3464772 /super0.c
parent9e33d55609251a75e6320996fbdea6c4a702560e (diff)
Convert 'quiet' to 'not verbose' in various places.
If we change some functions to accept 'verbose', where <0 means to be quiet, in place of 'quiet', then we will be able to merge 'quiet' and 'verbose' together for simplicity. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'super0.c')
-rw-r--r--super0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/super0.c b/super0.c
index 55e71e8c..8ca82e1b 100644
--- a/super0.c
+++ b/super0.c
@@ -768,7 +768,7 @@ static int write_init_super0(struct supertype *st)
continue;
if (di->fd == -1)
continue;
- while (Kill(di->devname, NULL, 0, 1, 1) == 0)
+ while (Kill(di->devname, NULL, 0, -1, 1) == 0)
;
sb->disks[di->disk.number].state &= ~(1<<MD_DISK_FAULTY);