if (ngroups > 0)
ngroups = getgroups(ngroups, gidset);
/* The default gid might not be in the list on some systems. */
if (ngroups > 0)
ngroups = getgroups(ngroups, gidset);
/* The default gid might not be in the list on some systems. */
sprintf(gidbuf, "process has %d gid%s: ",
ngroups, ngroups == 1? "" : "s");
pos = strlen(gidbuf);
sprintf(gidbuf, "process has %d gid%s: ",
ngroups, ngroups == 1? "" : "s");
pos = strlen(gidbuf);
pos += strlen(gidbuf+pos);
}
rprintf(FINFO, "%s\n", gidbuf);
pos += strlen(gidbuf+pos);
}
rprintf(FINFO, "%s\n", gidbuf);
- node = add_to_list(&uidlist, id, name, map_uid(id, name));
+ node = add_to_list(&uidlist, id, name, id2);