diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-13 23:22:00 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-13 23:22:00 +0000 |
commit | 87468857f685863cd763ae361c2cb3be0ee53a68 (patch) | |
tree | a8fec29d731170b2a36b27d18e2d9720c970bf57 /libpwdgrp | |
parent | f7fcca4af7593218f2185e69715ab3ae16c6cf29 (diff) | |
download | busybox-w32-87468857f685863cd763ae361c2cb3be0ee53a68.tar.gz busybox-w32-87468857f685863cd763ae361c2cb3be0ee53a68.tar.bz2 busybox-w32-87468857f685863cd763ae361c2cb3be0ee53a68.zip |
style fixes
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 7a8a23745..d59fd50bf 100644 --- a/libpwdgrp/pwd_grp.c +++ b/libpwdgrp/pwd_grp.c | |||
@@ -679,7 +679,7 @@ int putspent(const struct spwd *p, FILE *stream) | |||
679 | { | 679 | { |
680 | static const char ld_format[] = "%ld:"; | 680 | static const char ld_format[] = "%ld:"; |
681 | const char *f; | 681 | const char *f; |
682 | long int x; | 682 | long x; |
683 | int i; | 683 | int i; |
684 | int rv = -1; | 684 | int rv = -1; |
685 | 685 | ||
@@ -692,7 +692,7 @@ int putspent(const struct spwd *p, FILE *stream) | |||
692 | 692 | ||
693 | for (i=0 ; i < sizeof(_sp_off) ; i++) { | 693 | for (i=0 ; i < sizeof(_sp_off) ; i++) { |
694 | f = ld_format; | 694 | f = ld_format; |
695 | x = *(const long int *)(((const char *) p) + _sp_off[i]); | 695 | x = *(const long *)(((const char *) p) + _sp_off[i]); |
696 | if (x == -1) { | 696 | if (x == -1) { |
697 | f += 3; | 697 | f += 3; |
698 | } | 698 | } |