diff options
author | cborntra@de.ibm.com <cborntra@de.ibm.com> | 2005-01-30 13:09:38 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:21:58 -0700 |
commit | 61b24e5e19fb189cfce7ff323c58e1bb1d7cce4d (patch) | |
tree | 70e1b67a2199ba87a7e4ea6ccdb40439160d8e50 /extras/volume_id | |
parent | 43ca395e49c854b6c3bb9abb633e9e072e5df793 (diff) |
[PATCH] udev_volume_id: fix -d option
The -d option in udev_allows to go from a partition to the underlying disk
for s390 dasd labels. If the device is already the disk itself, finding the
parent will fail, therefore -d on /sys/block/dasda/ for example gives no
result at all.
Diffstat (limited to 'extras/volume_id')
-rw-r--r-- | extras/volume_id/udev_volume_id.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/volume_id/udev_volume_id.c b/extras/volume_id/udev_volume_id.c index 3fab54786b..7b69856804 100644 --- a/extras/volume_id/udev_volume_id.c +++ b/extras/volume_id/udev_volume_id.c @@ -186,7 +186,7 @@ int main(int argc, char *argv[]) if (class_dev_parent != NULL) vid = open_classdev(class_dev_parent); else - vid = open_classdev(class_dev_parent); + vid = open_classdev(class_dev); if (vid == NULL) goto exit; |