summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Query.c b/Query.c
index 0b15e28..5676a49 100644
--- a/Query.c
+++ b/Query.c
@@ -82,7 +82,7 @@ int Query(char *dev)
array.spare_disks, array.spare_disks==1?"":"s");
}
st = guess_super(fd);
- if (st)
+ if (st && st->ss->compare_super != NULL)
superror = st->ss->load_super(st, fd, dev);
else
superror = -1;