summaryrefslogtreecommitdiff
path: root/Kill.c
diff options
context:
space:
mode:
Diffstat (limited to 'Kill.c')
-rw-r--r--Kill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kill.c b/Kill.c
index cc2e589..f2fdb85 100644
--- a/Kill.c
+++ b/Kill.c
@@ -107,14 +107,14 @@ int Kill_subarray(char *dev, char *subarray, int verbose)
goto free_super;
}
- if (is_subarray_active(subarray, st->devname)) {
+ if (is_subarray_active(subarray, st->devnm)) {
if (verbose >= 0)
pr_err("Subarray-%s still active, aborting\n",
subarray);
goto free_super;
}
- if (mdmon_running(st->devnum))
+ if (mdmon_running(st->devnm))
st->update_tail = &st->updates;
/* ok we've found our victim, drop the axe */