summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2007-06-13 21:42:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:19 -0500
commit274782432b92d5a835e9a943f54ca8abada98815 (patch)
treed679f96339655801c620925baad6102c7dd4fca4 /source3
parent4caefdf348857577343075ae647e29a0ac904ae0 (diff)
downloadsamba-274782432b92d5a835e9a943f54ca8abada98815.tar.gz
samba-274782432b92d5a835e9a943f54ca8abada98815.tar.bz2
samba-274782432b92d5a835e9a943f54ca8abada98815.zip
r23475: Fix the prototype for sys_broken_setgroups and log *BSD group list
truncation a bit more verbosely. (This used to be commit e3ea997289f9f2613c304c016b42b2d35af48c84)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index 13f743faa4..309b21f59f 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -936,7 +936,7 @@ static int sys_broken_getgroups(int setlen, gid_t *gidset)
return ngroups;
}
-static int sys_broken_setgroups(gid_t primary_gid, int setlen, gid_t *gidset)
+static int sys_broken_setgroups(int setlen, gid_t *gidset)
{
GID_T *group_list;
int i ;
@@ -1019,7 +1019,7 @@ static int sys_bsd_setgroups(gid_t primary_gid, int setlen, const gid_t *gidset)
}
if (setlen > max) {
- DEBUG(10, ("forced to truncate group list from %d to %d\n",
+ DEBUG(3, ("forced to truncate group list from %d to %d\n",
setlen, max));
setlen = max;
}