summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorscf <scf@FreeBSD.org>2008-02-23 01:17:42 +0000
committerscf <scf@FreeBSD.org>2008-02-23 01:17:42 +0000
commit9787c9bf4e6ede80208bdc48d0466ebc9cfdb859 (patch)
tree5903d8782de3a151e15cc9de5b918908ea182c1f /usr.sbin
parent48fe676ff5ddc104ebc346eebf48c7c0e285f833 (diff)
downloadFreeBSD-src-9787c9bf4e6ede80208bdc48d0466ebc9cfdb859.zip
FreeBSD-src-9787c9bf4e6ede80208bdc48d0466ebc9cfdb859.tar.gz
style(9) (verified no object changes)
Approved by: wes (mentor) MFC after: 5 days
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pw/pw.c2
-rw-r--r--usr.sbin/pw/pw_group.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/pw/pw.c b/usr.sbin/pw/pw.c
index c5ebe42..3d9573f 100644
--- a/usr.sbin/pw/pw.c
+++ b/usr.sbin/pw/pw.c
@@ -225,7 +225,7 @@ main(int argc, char *argv[])
setgrdir(etcpath);
}
}
-
+
/*
* Now, let's do the common initialisation
*/
diff --git a/usr.sbin/pw/pw_group.c b/usr.sbin/pw/pw_group.c
index 1c63a11..10e8675 100644
--- a/usr.sbin/pw/pw_group.c
+++ b/usr.sbin/pw/pw_group.c
@@ -218,9 +218,8 @@ pw_group(struct userconf * cnf, int mode, struct cargs * args)
int k = 0;
while (grp->gr_mem[k] != NULL) {
- if (extendarray(&members, &grmembers, i + 2) != -1) {
+ if (extendarray(&members, &grmembers, i + 2) != -1)
members[i++] = grp->gr_mem[k];
- }
k++;
}
}
OpenPOWER on IntegriCloud