int found;
char *temp = NULL;
- /* we have to have a sysfs device for NUMBER to work */
+ /* we have to have a sysfs device for ID to work */
if (!sysfs_device)
return -ENODEV;
int found;
char *temp = NULL;
- /* we have to have a sysfs device for NUMBER to work */
+ /* we have to have a sysfs device for PLACE to work */
if (!sysfs_device)
return -ENODEV;
}
/* Yup, this rule belongs to us! */
- dbg("found matching rule, '%s' becomes '%s'", dev->kernel, udev->name);
+ dbg("found matching rule, '%s' becomes '%s'", dev->kernel, dev->name);
strfieldcpy(udev->name, dev->name);
strfieldcpy(udev->symlink, dev->symlink);
goto found;