summaryrefslogtreecommitdiffstats
path: root/Query.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2005-04-04 05:18:57 +0000
committerNeil Brown <neilb@suse.de>2005-04-04 05:18:57 +0000
commit0320ea45657e24b2abb4a4da242b9badcfade914 (patch)
treeb200b8a926d388c7b590ebddc22ea5a8a25d8c4a /Query.c
parenta0ef61bfadb2ab5868545199d0e0ca7661682bac (diff)
downloadmdadm-0320ea45657e24b2abb4a4da242b9badcfade914.tar.gz
mdadm-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 3f58c8b..95d6914 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) {