Manage_subdevs(): Use a dev_t

Use the correct type for rdev

Signed-off-by: Jes Sorensen <jsorensen@fb.com>
This commit is contained in:
Jes Sorensen 2017-09-29 18:08:01 -04:00
parent a37563c913
commit ffaf1a7eef
1 changed files with 1 additions and 1 deletions

View File

@ -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;