From: Jes Sorensen Date: Fri, 29 Sep 2017 22:08:01 +0000 (-0400) Subject: Manage_subdevs(): Use a dev_t X-Git-Tag: mdadm-4.1-rc1~84 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ffaf1a7eefc6167d7457d649e628c04ccee9a4dd;p=thirdparty%2Fmdadm.git Manage_subdevs(): Use a dev_t Use the correct type for rdev Signed-off-by: Jes Sorensen --- 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;