summaryrefslogtreecommitdiffstats
path: root/Query.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2005-04-04 07:18:57 +0200
committerNeil Brown <neilb@suse.de>2005-04-04 07:18:57 +0200
commit0320ea45657e24b2abb4a4da242b9badcfade914 (patch)
treeb200b8a926d388c7b590ebddc22ea5a8a25d8c4a /Query.c
parentFix uninitialised variable compile warning. (diff)
downloadmdadm-0320ea45657e24b2abb4a4da242b9badcfade914.tar.xz
mdadm-0320ea45657e24b2abb4a4da242b9badcfade914.zip
Change handling of devices names in args
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Diffstat (limited to 'Query.c')
-rw-r--r--Query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Query.c b/Query.c
index 3f58c8b8..95d69147 100644
--- a/Query.c
+++ b/Query.c
@@ -124,7 +124,7 @@ int Query(char *dev)
/* array might be active... */
mddev = get_md_name(super.md_minor);
disc.number = super.this_disk.number;
- activity = "inactive";
+ activity = "undetected";
if (mddev && (fd = open(mddev, O_RDONLY))>=0) {
if (md_get_version(fd) >= 9000 &&
ioctl(fd, GET_ARRAY_INFO, &array)>= 0) {