From: kay.sievers@vrfy.org Date: Fri, 18 Mar 2005 09:00:25 +0000 (+0100) Subject: [PATCH] fix bad typo that prevents the GROUP to be applied X-Git-Tag: 056~5 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=68c2c0b5b1dedfe0fd3346560999791efdf48c25 [PATCH] fix bad typo that prevents the GROUP to be applied Thanks to Jim Gifford for catching it. --- diff --git a/udev_add.c b/udev_add.c index 8443f65e7..15c6bf9fb 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) { diff --git a/udev_libc_wrapper.c b/udev_libc_wrapper.c index 4b39b6f47..16d90913c 100644 --- a/udev_libc_wrapper.c +++ b/udev_libc_wrapper.c @@ -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;