diff options
author | Anna Czarnowska <anna.czarnowska@intel.com> | 2010-11-26 11:49:33 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-11-28 23:56:28 +0100 |
commit | 0f0749ad93e82e4e46776cff92a7bb3692db5ecd (patch) | |
tree | 5f8001e5be3986d3fd16f7537c2c01eab6b4429a /util.c | |
parent | Monitor: few bug fixes for spare migration (diff) | |
download | mdadm-0f0749ad93e82e4e46776cff92a7bb3692db5ecd.tar.xz mdadm-0f0749ad93e82e4e46776cff92a7bb3692db5ecd.zip |
Monitor: devid should be dev_t
For consistency with makedev().
int is not sufficient.
Signed-off-by: Anna Czarnowska <anna.czarnowska@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to '')
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1123,7 +1123,7 @@ struct supertype *super_by_fd(int fd, char **subarrayp) } #endif /* !defined(MDASSEMBLE) || defined(MDASSEMBLE) && defined(MDASSEMBLE_AUTO) */ -int dev_size_from_id(unsigned int id, unsigned long long *size) +int dev_size_from_id(dev_t id, unsigned long long *size) { char buf[20]; int fd; |