aboutsummaryrefslogtreecommitdiff
path: root/loginutils/adduser.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--loginutils/adduser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/adduser.c b/loginutils/adduser.c
index 136dcdff8..0e9936ad1 100644
--- a/loginutils/adduser.c
+++ b/loginutils/adduser.c
@@ -177,7 +177,7 @@ int adduser_main(int argc UNUSED_PARAM, char **argv)
177 * 5. maximum days password is valid 177 * 5. maximum days password is valid
178 * 6. days before password is to expire that user is warned 178 * 6. days before password is to expire that user is warned
179 * 7. days after password expires that account is disabled 179 * 7. days after password expires that account is disabled
180 * 8. unix date when login expires (may no longer be used) 180 * 8. unix date when login expires (i.e. when it may no longer be used)
181 */ 181 */
182 /* fields: 2 3 4 5 6 78 */ 182 /* fields: 2 3 4 5 6 78 */
183 p = xasprintf("!:%u:0:99999:7:::", (unsigned)(time(NULL)) / (24*60*60)); 183 p = xasprintf("!:%u:0:99999:7:::", (unsigned)(time(NULL)) / (24*60*60));