Fix the prototype for sys_broken_setgroups and log *BSD group list
authorjpeach <jpeach@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Wed, 13 Jun 2007 21:42:31 +0000 (21:42 +0000)
committerjpeach <jpeach@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Wed, 13 Jun 2007 21:42:31 +0000 (21:42 +0000)
truncation a bit more verbosely.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@23475 0c0555d6-39d7-0310-84fc-f1cc0bd64818

source/lib/system.c

index 13f743faa4f9e36505f607bfec33fa1f38a7a496..309b21f59fec345663a76beb75e8debd305b14ec 100644 (file)
@@ -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;
        }