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:
parent
a37563c913
commit
ffaf1a7eef
2
Manage.c
2
Manage.c
|
@ -1367,7 +1367,7 @@ int Manage_subdevs(char *devname, int fd,
|
||||||
}
|
}
|
||||||
|
|
||||||
for (dv = devlist; dv; dv = dv->next) {
|
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 rv;
|
||||||
int mj,mn;
|
int mj,mn;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue