summaryrefslogtreecommitdiff
path: root/Assemble.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-12-14 17:32:59 +1100
committerNeil Brown <neilb@suse.de>2006-12-14 17:32:59 +1100
commit4855f95c7081d7438b55fed8f8808cc656f0ccc0 (patch)
tree439dcdac833780dbb5e8d23b4ae74588ae7a1e87 /Assemble.c
parentbeae1dfe2e5a3f11e6e52a93fbf617d644708415 (diff)
downloadmdadm-4855f95c7081d7438b55fed8f8808cc656f0ccc0.tar.gz
Fix bug where v1 superblock might appear active when they should be clean.
Only happens on kernel with 32 bit sector_t.
Diffstat (limited to 'Assemble.c')
-rw-r--r--Assemble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assemble.c b/Assemble.c
index 5e4e394..0450a47 100644
--- a/Assemble.c
+++ b/Assemble.c
@@ -990,7 +990,7 @@ int Assemble(struct supertype *st, char *mddev, int mdfd,
if (must_close) close(mdfd);
return 0;
}
- if (verbose >= 0) {
+ if (verbose >= -1) {
fprintf(stderr, Name ": %s assembled from %d drive%s", mddev, okcnt, okcnt==1?"":"s");
if (sparecnt)
fprintf(stderr, " and %d spare%s", sparecnt, sparecnt==1?"":"s");