diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-11 17:20:00 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-11 17:20:00 +0000 |
commit | f7996f3b700a22797565e9aa57e251e6e3ac1e4d (patch) | |
tree | af4e797eef0a65f4e3dba94b325da0ec08452d36 /loginutils | |
parent | 3821fb13ea404d243115ff8ec161273b62826513 (diff) | |
download | busybox-w32-f7996f3b700a22797565e9aa57e251e6e3ac1e4d.tar.gz busybox-w32-f7996f3b700a22797565e9aa57e251e6e3ac1e4d.tar.bz2 busybox-w32-f7996f3b700a22797565e9aa57e251e6e3ac1e4d.zip |
Trailing whitespace removal over entire tree
Diffstat (limited to 'loginutils')
-rw-r--r-- | loginutils/adduser.c | 2 | ||||
-rw-r--r-- | loginutils/deluser.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/loginutils/adduser.c b/loginutils/adduser.c index 5766e5de3..ea0b89a9b 100644 --- a/loginutils/adduser.c +++ b/loginutils/adduser.c | |||
@@ -115,7 +115,7 @@ static int adduser(struct passwd *p, unsigned long flags) | |||
115 | fseek(file, 0, SEEK_END); | 115 | fseek(file, 0, SEEK_END); |
116 | fprintf(file, "%s:!:%ld:%d:%d:%d:::\n", | 116 | fprintf(file, "%s:!:%ld:%d:%d:%d:::\n", |
117 | p->pw_name, /* username */ | 117 | p->pw_name, /* username */ |
118 | time(NULL) / 86400, /* sp->sp_lstchg */ | 118 | time(NULL) / 86400, /* sp->sp_lstchg */ |
119 | 0, /* sp->sp_min */ | 119 | 0, /* sp->sp_min */ |
120 | 99999, /* sp->sp_max */ | 120 | 99999, /* sp->sp_max */ |
121 | 7); /* sp->sp_warn */ | 121 | 7); /* sp->sp_warn */ |
diff --git a/loginutils/deluser.c b/loginutils/deluser.c index 869b22013..d07fd22ac 100644 --- a/loginutils/deluser.c +++ b/loginutils/deluser.c | |||
@@ -19,7 +19,7 @@ static void del_line_matching(const char *login, const char *filename) | |||
19 | int len = strlen(login); | 19 | int len = strlen(login); |
20 | int found = 0; | 20 | int found = 0; |
21 | llist_t *plist = NULL; | 21 | llist_t *plist = NULL; |
22 | 22 | ||
23 | passwd = fopen_or_warn(filename, "r"); | 23 | passwd = fopen_or_warn(filename, "r"); |
24 | if (!passwd) return; | 24 | if (!passwd) return; |
25 | 25 | ||