diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-21 15:08:09 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-21 15:08:09 +0000 |
commit | b71c668c577f7780362f7ea632895c11e3760d66 (patch) | |
tree | 860ccf38cce8c5347ae2b714a22b82a1d7dba323 /libpwdgrp | |
parent | 82bd9ee64546c4f6f60303f6356377ce6b695a06 (diff) | |
download | busybox-w32-b71c668c577f7780362f7ea632895c11e3760d66.tar.gz busybox-w32-b71c668c577f7780362f7ea632895c11e3760d66.tar.bz2 busybox-w32-b71c668c577f7780362f7ea632895c11e3760d66.zip |
style fix (stray space before ';')
Diffstat (limited to 'libpwdgrp')
-rw-r--r-- | libpwdgrp/pwd_grp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpwdgrp/pwd_grp.c b/libpwdgrp/pwd_grp.c index 4e476f26d..b535ef5c4 100644 --- a/libpwdgrp/pwd_grp.c +++ b/libpwdgrp/pwd_grp.c | |||
@@ -642,7 +642,7 @@ int initgroups(const char *user, gid_t gid) | |||
642 | while (!bb__pgsreader(bb__parsegrent, &group, buff, sizeof(buff), grfile)) { | 642 | while (!bb__pgsreader(bb__parsegrent, &group, buff, sizeof(buff), grfile)) { |
643 | assert(group.gr_mem); /* Must have at least a NULL terminator. */ | 643 | assert(group.gr_mem); /* Must have at least a NULL terminator. */ |
644 | if (group.gr_gid != gid) { | 644 | if (group.gr_gid != gid) { |
645 | for (m=group.gr_mem ; *m ; m++) { | 645 | for (m = group.gr_mem; *m; m++) { |
646 | if (!strcmp(*m, user)) { | 646 | if (!strcmp(*m, user)) { |
647 | if (!(num_groups & 7)) { | 647 | if (!(num_groups & 7)) { |
648 | gid_t *tmp = (gid_t *) | 648 | gid_t *tmp = (gid_t *) |
@@ -759,7 +759,7 @@ int putspent(const struct spwd *p, FILE *stream) | |||
759 | goto DO_UNLOCK; | 759 | goto DO_UNLOCK; |
760 | } | 760 | } |
761 | 761 | ||
762 | for (i=0 ; i < sizeof(_sp_off) ; i++) { | 762 | for (i = 0; i < sizeof(_sp_off); i++) { |
763 | f = ld_format; | 763 | f = ld_format; |
764 | x = *(const long *)(((const char *) p) + _sp_off[i]); | 764 | x = *(const long *)(((const char *) p) + _sp_off[i]); |
765 | if (x == -1) { | 765 | if (x == -1) { |