Lines Matching refs:daysleft
59 int daysleft;
63 daysleft = spw->sp_expire - today;
65 (int)spw->sp_expire, daysleft);
69 } else if (daysleft < 0) {
72 } else if (daysleft <= spw->sp_warn) {
73 debug3("account will expire in %d days", daysleft);
75 "Your account will expire in %d day%s.\n", daysleft,
76 daysleft == 1 ? "" : "s");
94 int daysleft, disabled = 0;
121 daysleft = spw->sp_lstchg + spw->sp_max - today;
129 } else if (daysleft < 0) {
132 } else if (daysleft <= spw->sp_warn) {
133 debug3("password will expire in %d days", daysleft);
135 "Your password will expire in %d day%s.\n", daysleft,
136 daysleft == 1 ? "" : "s");