[PATCH] fix bad typo that prevents the GROUP to be applied

Thanks to Jim Gifford <maillist@jg555.com> for catching it.
This commit is contained in:
kay.sievers@vrfy.org
2005-04-26 23:53:53 -07:00
committed by Greg KH
parent a5b9e2994a
commit 68c2c0b5b1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ static int create_node(struct udevice *udev, struct sysfs_class_device *class_de
if (endptr[0] == '\0')
gid = (gid_t) id;
else
gid = lookup_user(udev->group);
gid = lookup_group(udev->group);
}
if (!udev->test_run) {
+1 -1
View File
@@ -140,7 +140,7 @@ static unsigned long get_id_by_name(const char *uname, const char *dbfile)
dbg("can't open '%s' as db file", dbfile);
return 0;
}
dbg("reading '%s' as db file", dbfile);
dbg("search '%s' in '%s'", uname, dbfile);
/* loop through the whole file */
cur = 0;