summaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
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 5766e5d..ea0b89a 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 869b220..d07fd22 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;