summaryrefslogtreecommitdiff
path: root/extras/volume_id/udev_volume_id.c
diff options
context:
space:
mode:
Diffstat (limited to 'extras/volume_id/udev_volume_id.c')
-rw-r--r--extras/volume_id/udev_volume_id.c2
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;