summaryrefslogtreecommitdiff
path: root/udev_add.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-03-18 10:00:25 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:53:53 -0700
commit68c2c0b5b1dedfe0fd3346560999791efdf48c25 (patch)
treef3035296b6ac87605e048bd119b83d837d20aab1 /udev_add.c
parenta5b9e2994a6d34cb169eaa0e2cf16d0a7c4f197a (diff)
[PATCH] fix bad typo that prevents the GROUP to be applied
Thanks to Jim Gifford <maillist@jg555.com> for catching it.
Diffstat (limited to 'udev_add.c')
-rw-r--r--udev_add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_add.c b/udev_add.c
index 8443f65e7c..15c6bf9fbc 100644
--- a/udev_add.c
+++ b/udev_add.c
@@ -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) {