util: fix devnum2devname for devnum == 0
authorDan Williams <dan.j.williams@intel.com>
Sat, 12 Dec 2009 20:57:28 +0000 (13:57 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sat, 12 Dec 2009 20:57:28 +0000 (13:57 -0700)
commit1f0769d76801f928400f5626c6581873adaf7002
tree0ca8bccf93d4f33b89d51c2bad8aeafe887c3525
parentecf408e9149dbd6ef61fdcbc92c5816c0eb7fc84
util: fix devnum2devname for devnum == 0

devnum 0 is md0 no md_d-1

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
util.c