summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2006-12-29 12:28:34 +0000
committerstefanf <stefanf@FreeBSD.org>2006-12-29 12:28:34 +0000
commitc383932a7381f450bbe8877e93fee3c169f31719 (patch)
treec4bbfd9e5693cab3fc216b43838d8cd440e83c71 /usr.bin
parentb35ac7f09bf2729ad7fcd9aefce2dc5a41f05227 (diff)
downloadFreeBSD-src-c383932a7381f450bbe8877e93fee3c169f31719.zip
FreeBSD-src-c383932a7381f450bbe8877e93fee3c169f31719.tar.gz
Fix SUSv3 compliance: Use a single comma instead of comma and space to separate
additional group entries. PR: 107298 Submitted by: Joost Bekkers
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/id/id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/id/id.c b/usr.bin/id/id.c
index 8d1736d..e5c448e 100644
--- a/usr.bin/id/id.c
+++ b/usr.bin/id/id.c
@@ -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;
OpenPOWER on IntegriCloud