summaryrefslogtreecommitdiff
path: root/namedev.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2003-12-04 19:21:31 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:06 -0700
commit83be97ba211c4f69e7fd9f16f57ca7210a116a7d (patch)
tree252b685f9c616025d04b5981c66dda9e1e1187c1 /namedev.c
parent28d6536a0fff341bb3e307ad1abc30df57635f30 (diff)
[PATCH] pattern match for label method
switch LABEL search to pattern match add a test for pattern match in LABEL remove useless rule from udev.rules
Diffstat (limited to 'namedev.c')
-rw-r--r--namedev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/namedev.c b/namedev.c
index ea75bc5d8f..1faa253c1e 100644
--- a/namedev.c
+++ b/namedev.c
@@ -412,7 +412,7 @@ label_found:
*c = 0x00;
dbg("compare attribute '%s' value '%s' with '%s'",
dev->sysfs_file, tmpattr->value, dev->sysfs_value);
- if (strcmp(dev->sysfs_value, tmpattr->value) != 0)
+ if (strcmp_pattern(dev->sysfs_value, tmpattr->value) != 0)
continue;
strfieldcpy(udev->name, dev->name);