[PATCH] add debug line for REPLACE call.

This commit is contained in:
greg@kroah.com 2003-11-12 07:44:56 -08:00 committed by Greg KH
parent 75ff8da8ab
commit 07b80e6d55
1 changed files with 2 additions and 0 deletions

View File

@ -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);