summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2009-10-12 17:39:27 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2009-10-12 17:39:27 +0000
commitc6972477348a1f9f5bd6d2267817680c7d889039 (patch)
tree801e7f81a96d416ff7b56b9b3b4f1af1c8838dc8
parent764a984dbad1bb7d012790724507649377b63f44 (diff)
source code can fit on a 80-column display, no binary change.
-rw-r--r--usr.bin/id/id.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/id/id.c b/usr.bin/id/id.c
index d5517990d82..ec692799970 100644
--- a/usr.bin/id/id.c
+++ b/usr.bin/id/id.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: id.c,v 1.17 2004/11/16 13:51:35 jmc Exp $ */
+/* $OpenBSD: id.c,v 1.18 2009/10/12 17:39:26 sobrado Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "@(#)id.c 8.3 (Berkeley) 4/28/95";*/
-static char rcsid[] = "$OpenBSD: id.c,v 1.17 2004/11/16 13:51:35 jmc Exp $";
+static char rcsid[] = "$OpenBSD: id.c,v 1.18 2009/10/12 17:39:26 sobrado Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -213,8 +213,8 @@ current(void)
(void)printf("(%s)", gr->gr_name);
}
if ((ngroups = getgroups(NGROUPS, groups))) {
- for (fmt = " groups=%u", lastgid = (gid_t)-1, cnt = 0; cnt < ngroups;
- fmt = ", %u", lastgid = gid) {
+ for (fmt = " groups=%u", lastgid = (gid_t)-1, cnt = 0;
+ cnt < ngroups; fmt = ", %u", lastgid = gid) {
gid = groups[cnt++];
if (lastgid == gid)
continue;