diff options
author | Michael Forney <mforney@mforney.org> | 2013-10-25 18:44:20 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2013-10-25 18:53:36 -0700 |
commit | 630497dbc07971f6edc5b0cab4651ceef2ec662e (patch) | |
tree | 84c1a581d5ebe2ffb3d11214d4ef3c93f82edcce | |
parent | 69d8113995f6ec222798bc3164d2f1987cf4f5e6 (diff) |
libudev-util.c: Fix sysconf variable for util_lookup_group
Signed-off-by: Michael Forney <mforney@mforney.org>
-rw-r--r-- | src/libudev/libudev-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/libudev-util.c b/src/libudev/libudev-util.c index 522a984c3b..337514a13d 100644 --- a/src/libudev/libudev-util.c +++ b/src/libudev/libudev-util.c @@ -108,7 +108,7 @@ gid_t util_lookup_group(struct udev *udev, const char *group) struct group grbuf; struct group *gr; gid_t gid = 0; - size_t buflen = sysconf(_SC_GETPW_R_SIZE_MAX); + size_t buflen = sysconf(_SC_GETGR_R_SIZE_MAX); char *buf = NULL; if (streq(group, "root")) |