chiark / gitweb /
[PATCH] fix udev sed Makefile usage
[elogind.git] / udev-add.c
index 33ee633fd8765a5fdf0d87a5b87bbb5dfa12c102..ba5c864165234e83b9072bb4a349cdb7b46f37d4 100644 (file)
@@ -242,9 +242,9 @@ static struct sysfs_class_device *get_class_dev(char *device_name)
        dbg("looking at '%s'", dev_path);
 
        /* open up the sysfs class device for this thing... */
-       class_dev = sysfs_open_class_device(dev_path);
+       class_dev = sysfs_open_class_device_path(dev_path);
        if (class_dev == NULL) {
-               dbg ("sysfs_open_class_device failed");
+               dbg ("sysfs_open_class_device_path failed");
                goto exit;
        }
        dbg("class_dev->name='%s'", class_dev->name);