int retval = 0;
struct config_device dev;
- dbg("opening %s to read as permissions config", udev_config_filename);
+ dbg("opening %s to read as config", udev_config_filename);
fd = fopen(udev_config_filename, "r");
if (fd == NULL) {
dbg("Can't open %s", udev_config_filename);
if (tmpattr)
goto label_found;
- /* look in the class device device directory if present */
+ /* look in the class device directory if present */
if (class_dev->sysdevice) {
tmpattr = sysfs_get_classdev_attr(class_dev, dev->sysfs_file);
if (tmpattr)
if (tmpattr)
goto label_found;
- /* look in the class device device directory if present */
+ /* look in the class device directory if present */
if (class_dev_parent->sysdevice) {
tmpattr = sysfs_get_classdev_attr(class_dev_parent, dev->sysfs_file);
if (tmpattr)