]> git.ipfire.org Git - thirdparty/mdadm.git/commit
ddf tests: fix get_rootdev
authorNeilBrown <neilb@suse.de>
Tue, 19 Nov 2013 05:40:09 +0000 (16:40 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 19 Nov 2013 05:40:09 +0000 (16:40 +1100)
commitbe4a3188f6f21d8aba1704e18fa15d5ea9308c15
tree364e7197a7e92d487b01b1f051c2e5869fbba4df
parentf33a71f107a5ad35345215ee8ebf9920a00099b0
ddf tests: fix get_rootdev

Getting the major number from the hex device number should take
all-but-the-last-two digits, rather than just the first two digits.

Signed-off-by: NeilBrown <neilb@suse.de>
tests/env-ddf-template