chiark / gitweb /
[PATCH] fix bug in permission handling.
authorgreg@kroah.com <greg@kroah.com>
Fri, 13 Feb 2004 06:42:14 +0000 (22:42 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:32:27 +0000 (21:32 -0700)
namedev.c

index 68ca5dd..018fd45 100644 (file)
--- 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);