Create parse_num() function.
authorNeilBrown <neilb@suse.de>
Mon, 9 Jul 2012 07:14:17 +0000 (17:14 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 9 Jul 2012 07:14:17 +0000 (17:14 +1000)
commit79868890041f70b0c41e229b9417d05ad362d1d9
treef33b55f2c05d1756103237d6c29da12037aa7357
parent72d566f68d495261608a900b2d8cb8d037cd9178
Create parse_num() function.

Instead of open-coding this several times, just do it once.

The frees up the name 'c' which I'm about to use.

Signed-off-by: NeilBrown <neilb@suse.de>
mdadm.c
mdadm.h
util.c