Author: jpeach
Date: 2007-06-13 21:42:31 +0000 (Wed, 13 Jun 2007)
New Revision: 23475

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23475

Log:
Fix the prototype for sys_broken_setgroups and log *BSD group list
truncation a bit more verbosely.

Modified:
   branches/SAMBA_3_0/source/lib/system.c


Changeset:
Modified: branches/SAMBA_3_0/source/lib/system.c
===================================================================
--- branches/SAMBA_3_0/source/lib/system.c      2007-06-13 20:49:20 UTC (rev 
23474)
+++ branches/SAMBA_3_0/source/lib/system.c      2007-06-13 21:42:31 UTC (rev 
23475)
@@ -936,7 +936,7 @@
        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 @@
        }
 
        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;
        }

Reply via email to