diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2005-02-21 13:44:39 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:36:13 -0700 |
commit | 7e720bd4ad8257d81d273d98294ebbcc03ade9ba (patch) | |
tree | 5ce8a27d9abe0213679e815d1d13bcc4597da3d8 /udev_remove.c | |
parent | 1cec1c241600fc11121f9504bc9e95836c03bd9c (diff) |
[PATCH] switch major/minor to dev_t
Diffstat (limited to 'udev_remove.c')
-rw-r--r-- | udev_remove.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_remove.c b/udev_remove.c index baafdea51a..3a3db737c1 100644 --- a/udev_remove.c +++ b/udev_remove.c @@ -85,7 +85,7 @@ static int delete_node(struct udevice *udev) if (stat(filename, &stats) != 0) return -1; - if (udev->major && stats.st_rdev != makedev(udev->major, udev->minor)) { + if (udev->devt && stats.st_rdev != udev->devt) { info("device node '%s' points to a different device, skip removal", filename); return -1; } |