From a2505f4d1da4793991a4d2b2dc8f93b9b89d9672 Mon Sep 17 00:00:00 2001 From: "kay.sievers@vrfy.org" Date: Tue, 13 Jan 2004 00:51:44 -0800 Subject: [PATCH] [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' --- namedev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/namedev.c b/namedev.c index 4247b266..fdc6252b 100644 --- a/namedev.c +++ b/namedev.c @@ -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; -- 2.39.5