[PATCH] fix bug in permission handling.

This commit is contained in:
greg@kroah.com 2004-02-12 22:42:14 -08:00 committed by Greg KH
parent 5a98bc58e4
commit ba053b91e1
1 changed files with 1 additions and 1 deletions

View File

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