summaryrefslogtreecommitdiff
path: root/namedev.c
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-11-12 07:44:56 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:06:23 -0700
commit07b80e6d55ebeca61c7c4dba880517bb1a32ff81 (patch)
tree5b899ea6b83ad0a67fd33df9ab9884c838c6fa8b /namedev.c
parent75ff8da8ab2e7362ec489fe5280fe5c84fe42741 (diff)
[PATCH] add debug line for REPLACE call.
Diffstat (limited to 'namedev.c')
-rw-r--r--namedev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/namedev.c b/namedev.c
index 99542dc4d6..c277cec28f 100644
--- a/namedev.c
+++ b/namedev.c
@@ -733,6 +733,8 @@ label_found:
break;
}
case REPLACE:
+ dbg_parse("REPLACE: replace name '%s' with '%s'",
+ dev->kernel_name, dev->name);
if (strcmp(dev->kernel_name, class_dev->name) != 0)
continue;
strcpy(udev->name, dev->name);