summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
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