summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-01-13 00:51:44 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:15 -0700
commita2505f4d1da4793991a4d2b2dc8f93b9b89d9672 (patch)
tree2b82b469d0d0b028cf332ba2c70224a70aee4078
parent1eefb969ab96e3a897d0d1344db38ae2956eec31 (diff)
[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'
-rw-r--r--namedev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/namedev.c b/namedev.c
index 4247b26693..fdc6252bf6 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;