]> err.no Git - systemd/commitdiff
[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 99542dc4d668a1216eb92e5f2ee7ee6cbfd1e718..c277cec28f4b28e6ee80517a128a4528d3cfd9dd 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);