chiark / gitweb /
[PATCH] fix bad typo that prevents the GROUP to be applied
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Fri, 18 Mar 2005 09:00:25 +0000 (10:00 +0100)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 06:53:53 +0000 (23:53 -0700)
Thanks to Jim Gifford <maillist@jg555.com> for catching it.

udev_add.c
udev_libc_wrapper.c

index 8443f65..15c6bf9 100644 (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) {
index 4b39b6f..16d9091 100644 (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;