git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
SOLARIS: fix for AFS_PAG_ONEGROUP_ENV for Solaris 11
[openafs.git]
/
src
/
afs
/
SOLARIS
/
osi_groups.c
diff --git
a/src/afs/SOLARIS/osi_groups.c
b/src/afs/SOLARIS/osi_groups.c
index
6358821
..
4cbb62f
100644
(file)
--- a/
src/afs/SOLARIS/osi_groups.c
+++ b/
src/afs/SOLARIS/osi_groups.c
@@
-96,7
+96,7
@@
pag_to_gidset(afs_uint32 pagvalue, gid_t *gidset, int *a_ngroups,
}
}
- if (gidslot != NULL) {
+ if (gidslot == NULL) {
/* If we don't already have a PAG, grow the groups list by one, and put
* our PAG in the new empty slot. */
if ((sizeof(gidset[0])) * (ngroups + 1) > gidset_sz) {