aboutsummaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-01-11 17:20:00 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-01-11 17:20:00 +0000
commitf7996f3b700a22797565e9aa57e251e6e3ac1e4d (patch)
treeaf4e797eef0a65f4e3dba94b325da0ec08452d36 /loginutils
parent3821fb13ea404d243115ff8ec161273b62826513 (diff)
downloadbusybox-f7996f3b700a22797565e9aa57e251e6e3ac1e4d.tar.gz
Trailing whitespace removal over entire tree
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/adduser.c2
-rw-r--r--loginutils/deluser.c2
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)
fseek(file, 0, SEEK_END);
fprintf(file, "%s:!:%ld:%d:%d:%d:::\n",
p->pw_name, /* username */
- time(NULL) / 86400, /* sp->sp_lstchg */
+ time(NULL) / 86400, /* sp->sp_lstchg */
0, /* sp->sp_min */
99999, /* sp->sp_max */
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)
int len = strlen(login);
int found = 0;
llist_t *plist = NULL;
-
+
passwd = fopen_or_warn(filename, "r");
if (!passwd) return;