diff options
author | Jes Sorensen <jsorensen@fb.com> | 2017-09-30 00:08:01 +0200 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2017-09-30 00:08:01 +0200 |
commit | ffaf1a7eefc6167d7457d649e628c04ccee9a4dd (patch) | |
tree | da5f8ae3f5ac75fca9175619eefd46e9508e02e3 /Manage.c | |
parent | sysfs_init_dev - take a dev_t argument (diff) | |
download | mdadm-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |