[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:
committed by
Greg KH
parent
a5b9e2994a
commit
68c2c0b5b1
+1
-1
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user