[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:
kay.sievers@vrfy.org 2004-01-13 00:51:44 -08:00 committed by Greg KH
parent 1eefb969ab
commit a2505f4d1d
1 changed files with 1 additions and 1 deletions

View File

@ -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;