summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-02-12 22:42:14 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:32:27 -0700
commitba053b91e145d7bb88bbd34856f6a6a86e3e718b (patch)
tree810d65adb0a9cbe94bfcff8cf514a55d57bdcabf
parent5a98bc58e429bd6f4b1da10ef965d8b3f130fbe9 (diff)
[PATCH] fix bug in permission handling.
-rw-r--r--namedev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/namedev.c b/namedev.c
index 68ca5dd306..018fd452e9 100644
--- a/namedev.c
+++ b/namedev.c
@@ -112,7 +112,7 @@ int add_perm_dev(struct perm_device *new_dev)
/* update the values if we already have the device */
list_for_each_entry(dev, &perm_device_list, node) {
- if (strcmp_pattern(new_dev->name, dev->name))
+ if (strcmp(new_dev->name, dev->name))
continue;
copy_var(dev, new_dev, mode);
copy_string(dev, new_dev, owner);