Fix SUSv3 compliance: Use a single comma instead of comma and space to separate
additional group entries. PR: 107298 Submitted by: Joost Bekkers
This commit is contained in:
parent
b35ac7f09b
commit
c383932a73
@ -300,7 +300,7 @@ id_print(struct passwd *pw, int use_ggl, int p_euid, int p_egid)
|
||||
if (lastgid == (gid = groups[cnt]))
|
||||
continue;
|
||||
printf(fmt, gid);
|
||||
fmt = ", %u";
|
||||
fmt = ",%u";
|
||||
if ((gr = getgrgid(gid)))
|
||||
printf("(%s)", gr->gr_name);
|
||||
lastgid = gid;
|
||||
|
Loading…
Reference in New Issue
Block a user