summaryrefslogtreecommitdiffstats
path: root/Manage.c
diff options
context:
space:
mode:
authorJes Sorensen <jsorensen@fb.com>2017-09-30 00:08:01 +0200
committerJes Sorensen <jsorensen@fb.com>2017-09-30 00:08:01 +0200
commitffaf1a7eefc6167d7457d649e628c04ccee9a4dd (patch)
treeda5f8ae3f5ac75fca9175619eefd46e9508e02e3 /Manage.c
parentsysfs_init_dev - take a dev_t argument (diff)
downloadmdadm-ffaf1a7eefc6167d7457d649e628c04ccee9a4dd.tar.xz
mdadm-ffaf1a7eefc6167d7457d649e628c04ccee9a4dd.zip
Manage_subdevs(): Use a dev_t
Use the correct type for rdev Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'Manage.c')
-rw-r--r--Manage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Manage.c b/Manage.c
index 871d3428..21536f5e 100644
--- a/Manage.c
+++ b/Manage.c
@@ -1367,7 +1367,7 @@ int Manage_subdevs(char *devname, int fd,
}
for (dv = devlist; dv; dv = dv->next) {
- unsigned long rdev = 0; /* device to add/remove etc */
+ dev_t rdev = 0; /* device to add/remove etc */
int rv;
int mj,mn;