aboutsummaryrefslogtreecommitdiff
path: root/loginutils/addgroup.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-05-30 00:29:55 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-05-30 00:29:55 +0000
commit4b924f3a5c9c549c75deed8bdda2cbd82fd7f64b (patch)
tree7dfc507c1a7d14fb61d4fd0c68481e01b4a36ba1 /loginutils/addgroup.c
parent4ef7d3a2de3df27dde80a64987202f10aebfe925 (diff)
downloadbusybox-w32-4b924f3a5c9c549c75deed8bdda2cbd82fd7f64b.tar.gz
busybox-w32-4b924f3a5c9c549c75deed8bdda2cbd82fd7f64b.tar.bz2
busybox-w32-4b924f3a5c9c549c75deed8bdda2cbd82fd7f64b.zip
whitespace fixes
Diffstat (limited to 'loginutils/addgroup.c')
-rw-r--r--loginutils/addgroup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loginutils/addgroup.c b/loginutils/addgroup.c
index 2487aad31..b29b66527 100644
--- a/loginutils/addgroup.c
+++ b/loginutils/addgroup.c
@@ -23,7 +23,7 @@ static void xgroup_study(struct group *g)
23 goto error; 23 goto error;
24 } 24 }
25 25
26 /* Check if the desired gid is free or 26 /* Check if the desired gid is free or
27 find the first free one */ 27 find the first free one */
28 do { 28 do {
29 if (g->gr_gid == max) { /* out of bounds: exit */ 29 if (g->gr_gid == max) { /* out of bounds: exit */
@@ -147,7 +147,7 @@ int addgroup_main(int argc, char **argv)
147#if ENABLE_FEATURE_ADDUSER_TO_GROUP 147#if ENABLE_FEATURE_ADDUSER_TO_GROUP
148 if (argc == 2) { 148 if (argc == 2) {
149 struct group *gr; 149 struct group *gr;
150 150
151 /* check if group and user exist */ 151 /* check if group and user exist */
152 xuname2uid(argv[0]); /* unknown user: exit */ 152 xuname2uid(argv[0]); /* unknown user: exit */
153 xgroup2gid(argv[1]); /* unknown group: exit */ 153 xgroup2gid(argv[1]); /* unknown group: exit */