diff options
author | NeilBrown <neilb@suse.de> | 2015-07-02 00:15:10 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-07-02 00:15:10 +0200 |
commit | 9581efb1ae9348ef33d10d781cedde375c0d62c4 (patch) | |
tree | f6c9a71da1a039425bf80d52b87c56b4cdba69af /mdadm.c | |
parent | Grow: fix typo in comment (diff) | |
download | mdadm-9581efb1ae9348ef33d10d781cedde375c0d62c4.tar.xz mdadm-9581efb1ae9348ef33d10d781cedde375c0d62c4.zip |
mdstat: discard 'dev' field, just use 'devnm'
These both have the same value, and have done since the
'devnm' concept was introduced.
So discard the pointless duplicate.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.c')
-rw-r--r-- | mdadm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1675,7 +1675,7 @@ static int misc_scan(char devmode, struct context *c) if (!name) { pr_err("cannot find device file for %s\n", - e->dev); + e->devnm); continue; } if (devmode == 'D') @@ -1710,7 +1710,7 @@ static int stop_scan(int verbose) if (!name) { pr_err("cannot find device file for %s\n", - e->dev); + e->devnm); continue; } mdfd = open_mddev(name, 1); |