mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-17 03:55:45 +07:00
[PATCH] udev - simple debug tweak
change the empty debug string: Jan 13 00:55:42 pim udev[2849]: namedev_name_device: found matching rule, 'video*' becomes '' to something useful: Jan 13 01:00:23 pim udev[3234]: namedev_name_device: found matching rule, 'video*' becomes 'video/webcam%n'
This commit is contained in:
parent
1eefb969ab
commit
a2505f4d1d
@ -716,7 +716,7 @@ int namedev_name_device(struct sysfs_class_device *class_dev, struct udevice *ud
|
||||
}
|
||||
|
||||
/* 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;
|
||||
|
Loading…
Reference in New Issue
Block a user