aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/gssd
diff options
context:
space:
mode:
authorJosh Paetzel <jpaetzel@FreeBSD.org>2015-09-26 16:30:16 +0000
committerJosh Paetzel <jpaetzel@FreeBSD.org>2015-09-26 16:30:16 +0000
commit5eff3ec6e03da6c5dda478c157b0d5e00858b5fe (patch)
treece59b66adc387a8b72a9d6008897f0761d1ce677 /usr.sbin/gssd
parent0d27967e31d801dadb05594038b1057b261c3998 (diff)
downloadsrc-5eff3ec6e03da6c5dda478c157b0d5e00858b5fe.tar.gz
src-5eff3ec6e03da6c5dda478c157b0d5e00858b5fe.zip
Notes
Diffstat (limited to 'usr.sbin/gssd')
-rw-r--r--usr.sbin/gssd/gssd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/gssd/gssd.c b/usr.sbin/gssd/gssd.c
index 2540161c1ead..e85dfd7676e6 100644
--- a/usr.sbin/gssd/gssd.c
+++ b/usr.sbin/gssd/gssd.c
@@ -751,8 +751,8 @@ gssd_pname_to_uid_1_svc(pname_to_uid_args *argp, pname_to_uid_res *result, struc
buflen_hint = buflen;
}
if (pw) {
- int len = NGRPS;
- int groups[NGRPS];
+ int len = NGROUPS;
+ int groups[NGROUPS];
result->gid = pw->pw_gid;
getgrouplist(pw->pw_name, pw->pw_gid,
groups, &len);