chiark / gitweb /
[PATCH] add debug line for REPLACE call.
authorgreg@kroah.com <greg@kroah.com>
Wed, 12 Nov 2003 15:44:56 +0000 (07:44 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:06:23 +0000 (21:06 -0700)
namedev.c

index 99542dc..c277cec 100644 (file)
--- 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);